My car just stops while driving then it will start again and stop again then run on 2001 Kia Optima

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
i have replaced fuel filter
(1) Answer
(6) Comments
Ok, there are trouble codes stored in the computers memory, go to Advance or Auto Zone and have the codes read and post the code numbers and we can advise.
Have the Crankshaft Position Sensor checked/replaced, not DIY repair, behind timing belt cover, i think! May also have a vacuum leak.
Had those checked already, i am at a loss. The engine light went out today so I will see how long thst lasts. Thank you