I had to do this about 3 years ago for a 97 single cab.. The original one lasted 120K miles and was NOT taken care of.. meaning always clean air filters etc.
I would use a factory only replacement. And it would only be new, not rebuilt. The new one I put on 3 years ago is running perfectly and is very very smooth. Truck now has 173K miles on it.
Also, I am dead set against using a K&N filter. The filter itself most likely is fine, but people use way too much oil on it and it will burn your maf sensor wife very quickly.
Use a standard WIX or Nissan filter and be happy.
( My friend at the time did not want to deal with it and said to just let the dealer do it. It ran 875.00!!!)