TV movie-of-the-week from 1979 called "Disaster on the Coastliner". Shat played a bad guy on his way to death row via train; when the train becomes a runaway, Shat has an epiphany, saves the day, and is killed for his trouble.
The movie was terrible, especially for the fact that it was made up mostly of re-used footage from other movies.
That being said, how come no one's mentioned "Incubus"? I guess because no one's seen it.