Toyota Repair Problems? Ask a Mechanic for Answers ASAP
There are several things that can make an engine shut down, a bad fuel pump being just one of them. Have you tried starting fluid? If the engine starts and runs momentarily on starting fluid, then we'll know that compression and ignition are OK and that we'll need to focus on fuel delivery and distribution.
Diagnosing a no-start on this computer-controlled fuel injected engine can be difficult even for an experienced technicians. Things that can cause this engine to shut down and not re-start are insufficient cylinder compression, lack of fuel pressure/volume, lack of injector pulse and/or lack of ignition spark; all of which require some tools and the skills to use those.
Do you have any other information that would help us narrow down the issue? For example, what test result prompted replacement of the fuel pump? Was the circuit tested and the pump found not be working?