Toyota Avalon won't start
I was driving when the car shut down it wouldn't
start again I just replaced the fuel pump. But it still
won't start it will turn over but never start I tried
spraying starter fluid in it but it just dies right after
This is frequently a faulty mass airflow sensor or a faulty ignition coil, or maybe the fuel pump relay. There could be a lot of other causes, but these are the most common. As you just replaced the fuel pump, turn the ignition to the ON position and listen for the pump. If it's not running, you might need another pump or a relay or regulator, or maybe it's a clogged filter.
My personal experience with my 97 Avalon was that the car turns over but it wouldn't start. I suspected the fuel pump because I didn't hear any noise from it during the pre-start sequence. After some troubleshooting I found the 120 amp main fuse blown and the EFI 15 amp fuse blown. After replacing them it all worked just fine.
What caused those fuses to blow in the first place what they ordinarily blow? And why? My guess is you recently had your car jumped once or twice. Or one of those unregulated starter packs. But if those fuses are blown you're not even going to get cranking little old engine starting. You said you had cranking but no start but that wouldn't be those fuses.