OK EVERYONE PLEASE LISTEN!!! IF YOUR 2000-2002 Maxima has issue with stalling in park or while idle DO NOT TAKE TO NISSAN DEALERSHIP!!! They will try to tell you that either you need Mass Air Flow Sensor ($650), Ignition Coils ($1,000), or 02 sensors ($500).
All you need to do is take the car to a local mechanic and tell them to please clean the throttle body & mass air flow.
Cost me $69.00 and car runs like its brand new again. The mechanic mentioned that they will not clean the throttle body for you at Nissan because they want to lure you into replacing all these other parts. The Maxima especially gets a lot of build up of this black gunk inside the throttle body.
I am wanting to know if you had any other sensors out while this was happening?