i imagine you've had the hood open, so this may not be your problem, but something similar happened to me, any time i laid off the throttle, it stalled.
check the big hose on the intake (idle air control, i think) and make sure it's connected. if not, that would cause a stall when the throttle plate is closed.