2016 Dodge Stratus stops after driving a few miles

Dodge Stratus 1996 After driving for a few miles and stop. Car will not start until t cools down

I have a dodge stratus 2000 that use to stall after getting warmed up and driven for a while, then it would start up after 10 or 15 minutes. Turned out to be the crank sensor. I also had issues with the IAC valve.
Hope this helps