@Steve Tyler posted:One other not-too-difficult-or-expensive option: for about a dollar each, you could add a cheap AC-to-DC converter board, which has a pretty big smoothing capacitor that would pretty much smooth out most of the flickers from intermittent track contact. To *really* close the loop and totally eliminate the flicker, convert the bulb to an LED -- the LED's small draw will lower the demand on the capacitor and keep the light on during longer interruptions.
I suspect you could buy all the bits you'll need in bulk for less than $3 per car. If you're interested, I can look up links to parts I've used for other projects (they should do for this purpose as well). Good luck!
Actually, if it still has incandescent bulbs, the AC-to-DC converter will do nothing, even with a big cap.