Have Toyota Questions? Ask a Mechanic for Answers ASAP
Have you checked the Mass air flow sensor? A bad fuel pump can cause the p0171 and p0174, but if you are getting 40lbs cranking that sounds normal.
If you have a scan tool you can check the signal from the MAF, if not try unplugging the connector on the MAF and see if it will run. Sometimes it will start but run poorly with the MAF unplugged if it is faulty.
You can also check the signal from the MAF with a multi-meter:
Check the Blue(L)/White wire at the mass air flow sensor for 12 volts and the Green/White and Brown wires for grounds.The Blue(L)/Yellow wire is the signal wire; the voltage should increase as the airflow into the engine increases. Confirm that the voltage signal is getting to the ECM at connector D74 pin 74.
Can you test for spark or injector pulse?
That will be the next thing to check to see where to go from here. The spark can be tested by pulling one of the ignition coils and cranking the engine to see if the spark will jump from the coil boot to the block.
The injector pulse can be checked with a noid light. It is a small light that plugs into the injector connector. It will flash while cranking if you have injector pulse.
Ok. Now you'll need to check for injector pulse. You could also use a multi-meter to check for injector pulse but some multi-meters won't see the voltage pulse because it is so quick. You can usually borrow a noid light set at most parts stores with a deposit.
So you have spark and you have fuel, it should run unless the fuel pressure is dropping during cranking. If you spray starting fluid in the intake duct while cranking will the engine fire?