I have a 1999 jeep grand cherokee 4.7 engine shuts down on 1993 Jeep Grand Cherokee

You run it for 20 minutes and dies I changed the crank sensor ,cam sensor fuel pump And it don't drow any obd codes still shutting down and last seen the head lights turn on by them self

Asked by for the 1993 Jeep Grand Cherokee
when it dies check for spark and fuel pressure
I just put in a fuel pump in it yesterday. And it did the same thing ran for about 20 to 30 minutes and shuts down. Have to wait like about an hour to start again
1 more answer , 1 more comment
poss crank sensor issue. scan for codes and post so we can adv
I put in a crank sensor and a cam sensor theirs no obd 2 codes