Actually, it sounds like either a short circuit (but no idea why so intermittant) or the breaker in your transformer popping. Maybe due to the load of the older motor?
Have you made sure the track, wheels, and all contacts are completely clean?
What kind of draw is the engine pulling as it...