runs with key in start position. but dies when its out

wheres the risistor located?

Facing the car with the hood up, look on the drivers side firewall for a ceramic white box with four elec posts on it. I'll get ya a pic.
Could be either of these, but in any case ALL connections should have power with the key in the run position.