I had my wiring harness replaced, afterwards it blinked on and off twice (guages went to zero, radio cut out) turns out it was a wire from the battery to the alternator that had rubbed up against the EGR tube, got hot and melted through the wires coating.
I don't think that's your case, but the wiring can fail. Are your wires around the cooling fans or going into & around the UIM & intakes flaked & falling off? If so then you need the replacement (what year is your car?)
You might as a precaution also have the battery tested. When a cell goes bad in the battery you can get all sorts of weird behavior (wipers possessed)
Check the charging system first,(battery & alternator) & see if a bad battery might be partly to blame.