How do you reset keyless entry on a ford sport trac?

To reset or change the keyless entry on a sport trac, first enter the factory code on the keypad. Press the 1/2 button within 5 seconds. Enter the new code that you wish to use. The doors should lock then unlock, indicating the system is now reset and ready to use.