Well, I wouldn't suggest throwing parts on it without confirming they're bad. A rough idle can be caused by a number of differant things. Bad MAF's usually set a code, although the hotwire can become dusty and/or contaminated and cause incorrect readings and not throw a code. This is common when oil coated air filters are used like K&N. IMO, the best air filter for these engines is the one from Nissan. When was the last time the fuel filter was replaced?
Have you checked the distributor cap, rotor and ignition wires? One thing I learned over the years is that if you replace any of these items or the spark plugs, stick with genuine Nissan or NGK parts. Aftermarket parts tend to not work or last long on Asian ignition systems for whatever reason. Make sure the ignition timing is per specs.
You engine probably doesn't have an EGR valve. Models built 10/6/99 and later have no EGR system. It's referanced in bulletin #NTB00-012.
Early '00 models had some issues with idle fluctuation and bulletin #NTB00-007 addressed the problem. It pertained only to vehicles with manual transmissions and built prior to 5/17/99. The "fix" was an ECM upgrade and some adjustments.
Bulletin #NTB01-033a addressed rough idle due to dirty injectors. Tank additives don't always clean the injectors as well as a professional injection cleaning system, which runs the engine directly on the cleaner itself while the vehicle's fuel system is disabled.
Also, check for vacuum leaks. If you need copies of any of the bulletins, sens me an e-mail at
smj999smj@hotmail.com and I'll get them out to you. Make sure you give me the year/model/engine/TSB# if requesting any.
If you suspect a dirty MAF hotwire, it can be cleaned with mass air sensor cleaner or electrical cleaner. I usually don't recommend it unless it's a last attempt before replacing the MAF sensor as the hotwire is very fragile. Break the hotwire and the sensor is toast!
If none of this helps, it would be best to get it to someone who has access to a scan tool that can view the datastream of the ECM. Nissan's Consult II is the best at doing this, but not the only option.