You would think a dealer would have all the answers and equipment. Before taking the truck to the dealer, I realized that it was going to cost me around $1100 for a brand new engine that was only supposed to take 2 days to install. The first engine I helped rebuild from the dealer, when we removed it, alot of JB Weld was in spots, that threw up a red flag.. I've never rebuilt an engine before and had the chance to go there after work and help out. I chose to continue to rebuild instead of getting a new one as this way would cost me alot less than a new one so I took the cheap way out. So the rebuilt engine did the same thing, stalling, misfiring and so on. Got a refurbished engine, installed that one and it did the same thing. Toyota MFG overnighted a brand spanking new 22r engine and we installed that one 12am-2pm the next day.Still the same problem but engine sounded better than rebuilt one. So we new that it was something besides the engine. We removed the dash and traced all wires to the little gray box under the glove compartment. Every wire seemed good up to the box. So we replaced the box, still the same problem. Replaced every damn sensor in the truck, still the same problem. The truck would run, but once it warmed up, it would stall everytime you would put it in gear and so on. So finally, September 9, we decided to replace all the wires with new ones. We ran all the new wires to the little gray box under the dash and wallah we found our problem. WE THINK. On the gray box, theres a plug. Where the plug plugs in, the one metal prong was halfway broken off, so we rigged up a new plug taken from the junkyard and crossed our fingers. She started fine like normal and she warmed up for like 5 min. When she was warming up, we heard the rpms get a little louder, something this has never done before. The true test would come when I put the thing in gear. I put it in gear, and no stalling whatsoever and the thing ran beautifully. What a success. I never knew that a little gray box, could give me all that trouble. This was definitely a learning experience. The other two engines would of been fine, if we would of known to check the box. Best part of it all, I got to learn alot more about this truck and the final bill came to a handshake and get this damn thing outta here!