HI!
One thing to check is the engine harness by the rear of the cylinder head and passengers shock tower where it bends , at the engine pull on the harness to see if the engine dies or cuts out, I have seen these wires break
ASE Certified Technician
Nissan Master technician