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

couldn't the ballast resistor (on its way out) do that too? Gets hot and dies?