The R51 Pathfinders and D40 Frontiers all used 315-mhz TPMS sensors, so they will work, but they will have to be ID registered to the vehicle. This can be done a number of different ways. Easiest way would be to get a TPMS trigger tool, which runs about $15-$20 and a scan tool that can access the TPMS system. If you don't have the scan tool, you can use the TPMS diagnostic connector under the driver's side of the dashboard; if it's never been used, you'll likely find it wrapped to a harness with blue tape and it'll be part of the same harness that goes to the OBD II diagnostic connector. Turn the key "on" and ground the wire in the TPMS diagnostic connector six times within 10 seconds should put the TPMS system into ID register mode, causing the TPMS warning light to flash. If you have the trigger tool, go to the left-front wheel and aim the end at the tire near the valve stem and push the button on the tool; the exterior lights should flash if it registered the sensor. Continue this procedure to the right-front, then right-rear and then left-rear. The exterior lights should flash as each sensor is registered. Turn off the key and your done. If you don't have the trigger tool, you will have to adjust the tire pressures as follows: 36 psi at left-front, 33 at right-front, 30 at right-rear and 27 at left-rear. With the TPMS system is register mode, drive the vehicle and in about 5-10 minutes, the TPMS light will go solid, meaning the sensors are registered. FYI for those interested, 2022 Frontier wheel will fit R51/D40/N50 models, but the TPMS sensors need to be replaced with 315-mhz sensors as the '22 Frontier uses 433-mhz TPMS sensors.
https://www.amazon.com/Pressure-Activat ... 3603&psc=1