Thank all of you. This is what has happened. The car would just stall out when at a traffic light or when you were driving slow. The code said that bank one had to much fuel (P)172). Parts are cheap and Toyota mechanics are not. So I went online and began swapping out parts. I replaced (not in order) the injectors (that is why I am asking that perhaps I put in the wrong ones) the fuel pump assembly, fuel filter) gas cap, air filter, idle control valve (three times they kept on melting when I purchased a cheap one) egr valve, manifold pressure sensor, I changed the transmission fluid (I read that if it is not shifting correctly you could get the PO172 error), the temperature sensors (both). Both oxygen sensors (Denso) the catalytic converter. Each time I did something the car would run great but not for long perhaps 10 miles but on more than one trip. In other words it would go 5-10 miles on a test drive and it would be fine the next time out after 2 or three miles the check engine light would be back on. So I figured (wrong again) that it must be the ECM, so I sent it out to be rebuilt and was told that it checked out fine.
The car has 135K miles on it and everyone says that are good for 250K so it should be worth fixing. If the injectors are not it I think I will just sell it.