I had this problem when my MAF (MASS AIR FUEL SENSOR) started going bad.
WHen you turn the key to the ON position, if you hear a buzz, typically its your fuel pump kicking on.
Heres what I learned from people here on Nico, and several other forums.
Before doing anything, check the ECU for codes.
http://www.nicoclub.com/archives/nissan ... ostic.html
Heres what I did when I got the code for my MAF.
http://www.twinturbo.net/nissan/300zx/f ... ensor.html
Turned out my MAF was going bad, and I needed a replacement one. I have a hook for MAF's for 60 bucks, brand new. I also cleaned the grounds around the motor, and it helped with smoothing out the idle and alot of other problems I was experiencing, bogging, etc.
If you can, get Nissan to replace the PTU. its free because its still under recall.