ck eng light comes on after truck surges, at stop lights. on 1993 Ford Ranger

Not all the time

Asked by for the 1993 Ford Ranger
Need more info. From what you posted I would suggest removing and cleaning the Master airflow sensor located about 6 inches from air filter. Need safety starheads to remove it. Otherwise, it could a fouled catalytic converter. But, need more info and get check engine code read if possible. Use master airflow cleaner only on the sensor.