Did it stall when it was idling (or when you were trying to hit the gas from idle), or while you were already at a higher (than idle) rpm?
How about the idle air control valve? It electronically controls the idle speed, and often gets clogged up. You can buy a new one (like $50 or something, any auto parts store), or just take yours off and clean it. Its certainly easy enough to take old off to see if its dirty, to rule this out or not.
On the 4.0 SOHC it resides on the top, center of the motor, on the intake, under that plastic '4.0' cover. Remove the cover, the IAC valve is held on by two hex bolts, with maybe an 8 mm head. Its metal and plastic, kind of a horizontal cylinder with an electrical plug on it. the gasket can be resued if you're careful.
If its at all dirty, you can use throttle body cleaner (spray can from any parts store) to clean it. If its really gunked up you may need to use a wire or something the knock out the big stuff first. Clean it good, let the cleaner evaporate, then reinstall. May have to readjust your idle speed afterwards (know it may be too high). That is done by a screw at the throttle butteryfly. Just look for where the throttle cable connects, then you'll find the little screw that prevents the butterfly from closing completly. That adjusts the idle.
Forgive me if I'm being too detailed, I know you need to get this addressed fast, and I don't want you to have to waste time asking for more detail if any of this is new for you. There are other writeups on this forum, maybe with pictures, if you need more info.