I had a problem like this once, the wire that goes from the alternator to the starter was grounding to something metal after some of the insulation had melted off. It caused all my litle warning lights to flash and gauges to go wild. I remember first thinking my pcm was toast but it was the charging system grounding out.