I have a 1996 Nissan Maxima and it only does this every so often but ill be driving and it will just start to buck and shake like its not getting fuel and sometimes will die in the middle of the road. When it dies i try to crank it i can smell the fuel so i doubt it would be the fuel pump. I have replaced the spark plugs, fuel filter, air filter and fuel pump relay. The issue is still ongoing. Does anyone have any ideas or suggestions? Throwing a code for the knock sensor but that is all.