scotch
+1y
The first thing you need to do is get that adjustment screw replaced and then set up the base idle speed. I know you're doing the best you can now by plugging it with vacuum cap, but if you start replacing IACs and ECMs without having the base idle speed set correctly, then you are troubleshooting this problems backwards and will probably waist time and money.
I doubt the ECM is bad, although it could be. I'm more inclined to think that it is getting some bad information from a sensor like the coolant temperature sensor. However, if you haven't done so already, I'd pull the computer, remove the top cover and inspect the circuit board to see if there is any signs of leakage around the two large capacitors - they will be about the diameter of a AA battery and about 1/2 inch tall. IF they've already been replaced, they could be smaller. If the circuit board around these capacitors is not just as clean and shiny as the rest of the board, then they have probably leaked and are causing some of your problems. Post some pictures.
Also, when you replaced you coolant temp sensor, you replaced the one with two terminal connecter, right? The single connecter terminal is the one for the gauge. I would check the resistance on the coolant temp sensor and see what you have. I still have the original in my truck but I have seen many other cars with them fail and cause idle issues.