@RoyBoy posted:A bridge rectifier is all it takes, but the one you posted seems pretty expensive to me.
As long as it handles 50 volts or more and 6 amps or more, it will be fine. As you become more advanced electrically, you can add a double pole, double throw switch to reverse your train's direction without swapping wires around.
Thank You