to start this car has 287k miles and about three years ago (a year after i bought it) it left me stranded in a parking lot. For about three months I had been dealing with fuel pump issues where i would have to "wake" it up by hitting it with a wrench to get it to run (also this is the only issue this car has given me up to this point), and in that parking lot it completely went out on me and wouldn't start no matter what i did. surprisingly after a few days of it sitting there i went back the day i was gonna get it towed to my house and it started! that was the last day that it fully ran and drove.
i replaced the fuel pump, nothing. fuel pump relay, nothing. I only recently found out and confirmed that it was the wiring harness that goes from the relay back to the fuel pump. I was able to bypass the 12v power by wiring in my own spade connectors and wires and connecting the power to the fuel pump and that got it running with the turn of the key like it's supposed to. A new issue rose up with this though, now it doesn't want to idle at all, starts up tries to idle and stalls within seconds. I have cleaned the IAC with the proper cleaning products, i cleaned the air intake, bought a refurbished EGR valve, bought a junkyard coolant temperature sensor, cleaned the coolant temp sensor connectors to both male and female, still nothing.
the only way i can get it to idle is if i connect the green test connectors under the hood and disconnect the coolant temp sensor completely, any other way it will not idle at all. I tried every combination of connecting and disconnecting those two and the only way is test connectors plugged in and coolant temp sensor not. i haven't left it running for long because i know you're not supposed to but this taught me that there is something here that i can fix i just have no idea what it is. i have scoured these forums for the answer and i have found nothing for this specific issue. I am now posting this as my last attempt at figuring this out and trying to revive my beloved car.
Any suggestions and help is greatly appreciated, also sorry for the word vomit i just had to explain the amount of work I've put into this