Many railroad executives have civil engineering degrees. At one time, most railroad management had a degree in either civil or mechanical engineering. The civil engineers started in the roadway and track department while the mechanical engineers started in the car or locomotive departments. Of course, when there were 100 Class I railroads instead of 7, there were far more opportunites for advancement.
When looking for employment, don't overlook the short line railroad industry, as these days firms like Genessee & Wyoming Industries and RailAmerica and the others have engineering staffs as well. If you can stay employed with a railroad all you life you'll find that Railroad Retirement will keep you living in the style to which you have become accustomed.