The earth wire coming loose after it was running shouldn't have affected the engine running as the alternator would have been supplying enough power.
The extra wire presumably was there when the car was behaving ok, so suspect that is a red herring.
I would think you probably have a faulty ignition switch that is shorting out internally or a relay that has become stuck in the operated position.
|