I have had great luck with aftermarket for the Xterra, Chevy HHR, and the last one a pair for the 99 Ford. The Xterra had to be dealer programmed to vehicle, the rest is just a series of turning the key on and off several times then activating the fob to get the vehicle to recognize.
I just searched my order history and the last pair was Yitamotor at Amazon