had this same exact problem, its the fan amplifier control, i had to replace mine like 2 years ago cause it went bad,
heres the link to the part
http://www.courtesyparts.com/2..._4758&
2002 pathfinder should be the same part as for 2002 qx4 as they are practically same car.
back then i took mine to the dealer and paid like 325$ or so approx. But this is one of those small things that are known to go bad on these cars, not much else really other than 02 sensors, and some other minor things.
and Welcome to NICO pathy/qx4 forum