When it stalled maybe it blew some crap back into the
idle air bypass valve circuits.
It is the round thing on the throttle body with
wire plugs on it.
There are passageways through the throttle body to it
and it controls the idle air when the throttle body plate
If the passageway through the throttle
body is dirty or partially plugged or the idle air
valve is acting up it will affect your idle badly.
Try cleaning the idle air bypass unit and the
throttle body passage hole out with some carb
spray. Sometimes even oil from an air filter can
cause it to act up.