Check engine light comes on then goes off when accelerating to pass another car. on 1993 Lincoln Town Car

this occured while in the mountains and passing on a hill multiple times. Vehicle downshifts to accelerate and while under load the light comes on but then after easing off the gas and completing the pass it goes out again. Not sure if a code is stored in the system since the light goes back off right after I finish passing the other car and resume regular driving.

Asked by for the 1993 Lincoln Town Car