This could be a few things, especially if the vehicle is idling too low. Check your PVC hose, particularly the elbows for wear and tear or any holes or collapsing. You can repair these temporarily by wiping them off well to remove dirt and wrapping in electrical tape until you are able to get the part replaced.
Engine is idling too slow or the alternator is weak. Or battery is getting tired.
There are several things that can cause your Jeep to stall while idling. The timing may be off or your fuel filter may be clogged.
If the car dies while idling, the timing might be off. Other causes can include a clogged fuel filter or a bad spark plug.
Is the AC turned on?
The most likely cause is a faulty engine crankshaft position sensor.
you are flooding the engine
Engine miss.
it maybe just a timing problem
There can be many reasons why a car surges while idling. Some of these reasons are the computer could be dying, or the fuel injector are giving the engine too much gas.
what causes the rear lights to stay on while engine is running. the car is park
Trans fluid is always checked with car level and idling while warmed up.
Have the OBDII connector scanned. The trouble code(s) will tell where the problem lies.