Do I need a fuel pump or an 02 sensor????????? on 1997 Infiniti Q45

My car pumps while driving not getting much gas at times then suddenly died at a light in drive with my foot on the break. I restarted it and I got about 40 feet before it died again! I tried to restart it and this time put my foot on the gas and it turned over but died 5 seconds later! And it has been doing that since! No moving it not getting any gas!

Asked by for the 1997 Infiniti Q45
It needs diagnosed, but you are not looking at an O2 sensor for the no-start, but there are too many other potential issues to just jump to the conclusion that the fuel pump is bad. It's possible the pump has failed, but someone needs to test and prove it before you replace it.