I have a 1995 Nissan Maxima and it did the same thing. Now it won't crank at all. I was told it was the Coil Packs now I'm told its the Air Sensor. You can try the Air Sensor if you'd like, that's my next check.

Same problem with my 01 maxima. and i keep hearing that it is the MAF "Mass Air Flow" sensor. i think that this is a problem for all of the 00 01 02 03 nissan maximas. but try to have this fixed and see if that helps. also ive heard it could be the IAVC! still havent figured out my problem!! lol