2000 Kia Sephia - runs well when cold, not when engine is warm

it runs good when cold then when warms up if dies and wont start just spits and sputters. let it sit a while and it starts.
Replaced plugs, fuel filter,cleaned throttle body also theres no check engine light on?

A bad crankshaft position sensor can cause that.