my od light flashes while driving and engine dies out when i accelerate also cel on on 1995 Mazda Protege

while i was driving i notice the o/d light flashing then the engine started surging the chek engine light come on and stays on as i accelerate th enginethe trans mission started shiftinf for otself as i park the engine suddenly dieid out istarted again it started and then ied again i started and accelerate then it did not died work for awhile then the engine started vibrating what is the problem is it the speed sensor/

Asked by for the 1995 Mazda Protege
1 answer
Need to get the CEL code ASAP and then you need to get the transmission code, which is why the O/D light is blinking.

here are some shops: