Instructions
Cut and strip the wires between the Marklin transformer and the track. Solder a rectifier in to place. When the rectifier switch is activated, it reverses the polarity of the leads.
Open up the locomotive using a screwdriver. Locate the relay switch, and de-solder the solenoid mechanism attached to it.
De-solder and remove the two cables that connected the solenoid to the motor.
Unscrew the relay switch and solder two diode to the cables connected to the motor. Diodes block electricity coming from one direction, but allow electricity to pass in the other direction. Therefore, the manner in which they are connected is important: One diode must face the cable; the other must face outward, away from the cable. Then solder the two diodes together, and fasten them to the cavity where you unscrewed the solenoid.
Reassemble the locomotive.
Your locomotive should now run on DC current using Marklin AC tracks.