How does it work if you want a steam train?
If you want to actually drive your steam train then you'd need to negotiate with the track owner, which may be hard, particularly if they run on PTC (there's literally one ERTMS-compliant steam train in the world, for example). There's no public right of way on railway tracks for randoms, only for Amtrak (and even they have limits).
YouTube exists for this video.
Then the conductor pulls the chain, and the train makes that whistle sound and spouts a lot of white smoke, which means you are nearing an old-timey town.