Based on my limited experience with my son’s Xterra and a few conversations with an indy mechanic, my opinion is that Nissans are finicky about aftermarket electronic parts so stick with OEM.
I had an aftermarket camshaft position sensor installed by a local shop and they could not get the truck to run right. I had them take it out and put in the OEM from the Nissan dealer and it ran perfect instantly. Still going strong 2 years later.
Just my .02.