Headlights = misfire & stall

I have a 2002 Sportsman 700 that runs great until the headlights are switched on. Shortly afterwards the machine will misfire & stall. The headlights continue to flash until the ignition is switched off. I have tried running it with an automotive booster pack connected to the battery as well as replacing the following components;
voltage regulator/rectifier, ignition controller, stator, both 20 amp breakers.
I am ready to torch this POS!