I have a 1997 Nissan Maxima A32 and during traffic(usually at a standstill ) it was just shutting off , no rev abnormalities when it was happening.
After it would shut off it would take a fair few tries at turning the ignition/or time to get the engine running again . This happened over the course of two weeks until the engine would no longer start.
When trying to start vehicle again the engine would turn over ( no clicking ) but just would not start and eventually this would drain the battery.
We have also tried it with a different battery with the same results.
Any idea what this could be?