The Overdrive On/Off light my 1998 Mazda B4000 pick-up starts blinking when I am driving. It stops doing it when I shut off and restart the engine.
You have a transmission problem. The odds are good that you are doing more damage to the transmission as you drive. You should get it fixed.
please see if this attached file applies to your case. You need to have the truck scanned.