wait,wait,wait... let me get this straight. You've had to replace you're headlight wiring and fuel pump wiring because they fried

That's not normal. I've never seen that one before unless somebody has been messing with the wires like a fuel pump cutoff switch or trying differrent types of lighting systems.
As far as the part under your air filter, that's called you're air temp sensor and it will cause a funky idle. easy to replace and a cheap part too. I've been thru two of those on my truck.
What caused all of your wiring to fry
