engine runs good but turns on and off like a lightswitch, sounds like a rotten connector/short/bad contact
did you test ohms on the wire with less volts
also you said "several half-broken wires" , did you have to splice some wires and ended up using a crimper, if so check the crimps over again