Why does car come to s halt while still driving it on 2004 Kia Optima

Runs and starts fine after driving for awhile it slows down till it comes to a halt. After letting it cool down it will run normal for another while. Had the transmission oil changed still the same what can it be

by in Potwin, KS on September 26, 2013
1 answer 1 comment
ANSWER by on September 26, 2013
Have it scanned for codes, if engine is stalling, possible crankshaft position sensor.
COMMENT by on September 27, 2013
It doesnt stall motor keeps running but comes to a halt and wont roll no more till it completly cools down