Man! there's sure been a run on wiring harness problems today!
It sounds like the connector on the TPS (Throttle Position Sensor) on the side of the throttle body. You've fallen prey to the "wiring harness cracked insulation gremlin". Unfortunately, you've got too many miles on your car to be eligible for warranty replacement of the wiring harnesses (>100K). And, also unfortunately, you'll find that the individual replacement harnesses are quite expensive (prolly several hundred $$ each, even from Bill Jenkins).
See a very recently previous post today in this forum:
Harness Problem
That connector is part of the "Fuel Shutoff" harness (sorry don't have a P/N), since those wires come out of the group that feeds the fuel injectors (per the EVTM).
If you get a price from him, it'd be of interest if you posted it here. Sorry for your problem, hope you can find a relatively inexpensive solution (maybe an unaffected harness from a salvage yard?).
Kurt