Some great ones listed here. I enjoyed these "less than classics but featuring nice train footage."
100 RIFLES...Revolution in Mexico (actually Spain) featuring Raquel Welch, Jim Brown, Burt Reynolds, and a great battle involving a train.
https://www.imdb.com/title/tt0063970/
BANDIDO, another Mexican revolution film starring Robert Mitchum has another great battle scene involving a train.
https://www.imdb.com/title/tt0048983/?ref_=fn_al_tt_1
DUCK, YOU SUCKER, and another psuedo Mexican film featuring a train. Lee Marvin, Rod Steiger, and a bunch of dynamite!