It most likely is the air temp sensor. they are 20 dollars. I would also suggest replacing your PCV valve and your thermostat.
freeze plugs?
There is A great Chance That Your Fuel Regulator is bad and allowing to much fuel to dump into your injectors flooding the engine ,In 20 minutes it clears out the fuel and then restarts. Another possibility would be the coil pack is bad and when it gets hot it shuts down then when it cools it will start back up. This Is an opinion and not absolutely the cause.
Is the fan functioning?
Check the fuel pump relay.
Check the crank sensor. I had a 98 cirrus that wouldn't start and that was the problem
Start it up again.
Check for vacuum leaks.
A 1996 Plymouth Breeze that starts and runs until it warms up, but then stalls might have a problem with a temperature sensor. The sensor is telling the computer that the temperature is too high for the engine to operate safely. Check the Electronic Temperature Sensor or the Manifold Pressure Sensor (MAP).
its the fuel pump check the relays and wiring and then have your try changing your pump.
Wait a second, then start it again.
The same way you started it
Vapor Lock