Yes but in the other thread I argued that it would be fine to kill someone if you knew they were planning to kill many others and you argued thered be no way to see what would happen in the future. It might not be a train but it could be a terrorist with a bomb or a guy who has killed before and expressed his intent to kill again. There will always be doubt if they will carry out the murder but thats pretty much the same as thinking the guy who set this up has a remote brake activator if the train heads for the five
In this scenario you conciously chose to kill the one person when there is no way of knowing what that the future holds. Throwing the switch is the same as shooting an active terrorist or an unstopable murderous dictator.