Just becuase the car died when you unplugged it does not mean everything is ok with it. I would clean the throttle plate with carb cleaner and a rag, make sure the adjustment on it is correct, possibly remove the IAC and clean it and the mounting holes it goes on... and like SEAN said check your base timing. If this is an EFI motor you will have to unplug the SPOUT connector to check your base ignition timing.