ballast resistors

i need to find out why my car goes on but then just turns off...it turns over but wont idle. once it does and i put it in gear, it dies. ppl say its elecrtonics and im just tryin to get to the bootom of the problem...easiest parts first