Follow these instructions and you can add an additional code. worked perfect for me on my 2019 ranger with the factory installed keypad. should work for them all.
How to program your keyless entry keypad
Enter the factory-set code.
Within five seconds, press the 1-2 button on the keypad.
Enter...