I would try to save the five people by shouting out to them rather than murder a single person.
The problem with the scenario is that you are told beforehand that the only two options are killing someone or letting five people die. You are effectively also told what the future will be in that nothing else will succeed. Life does not work that way. You don't know what the future holds. Yes I know it's a hypothetical situation and that you could contrive another scenario where you really do not have any choice, but in reality, there is always something else that you can attempt. It may fail but you also have to live with yourself and you avoid being punished.
The problem with the scenario is that you are told beforehand that the only two options are killing someone or letting five people die. You are effectively also told what the future will be in that nothing else will succeed. Life does not work that way. You don't know what the future holds. Yes I know it's a hypothetical situation and that you could contrive another scenario where you really do not have any choice, but in reality, there is always something else that you can attempt. It may fail but you also have to live with yourself and you avoid being punished.