I have three movies where a train is central to the plot:
Breakheart Pass
Another of Alistar McLean's thriller/mysteries (Ice Station Zebra, Where Eagles Dare, etc) set in 19th century west: Most of the film takes place on the train starring Charles Bronson.
IMBD: When a military outpost is...