Have Toyota Questions? Ask a Mechanic for Answers ASAP
You have many options with today's internet so Thank you for choosing JustAnswer.com.
It is unlikely the ECM have you checked the voltages for the PIM signal input at the ECM. The only way to get this code is if the VC or VS is getting grounded or going open. Did you check the pin fits at the ECM and the sensor connector. Click the link below for the wiring diagram. The computer outputs a 5 volt VC reference signal then as vacuum changes on acceleration the signal voltage changes. On page 2 of 7 the B/Y wire is the signal wire the voltage has to fluctuate on this wire. Check that there is continuity on the brown E2 wire. Voltage should be less then .01 volts. Let me know what you find.
P.S. I take great pride in providing quality responses for the people I assist. If you believe that I have been professional and helpful in my assistance please don't forget to give a positive rating for this exchange and click the accept button. If you feel my answer does not address your issues, please just tell me and I will opt out, allowing another technician to address your situation. My Goal is to make this experience one you appreciate.