This is from the ford website:
To program the transmitters yourself:
Insert a key in the ignition and turn from (LOCK) to (ON) and cycle between (LOCK) and (ON) eight times in rapid succession (within 10 seconds) with the eighth turn ending in the (ON) position. The doors will
lock/unlock to confirm that programming mode has been entered.
Within 20 seconds, program a remote transmitter by pressing any button on a transmitter. The doors will lock/unlock to confirm that the remote transmitter has been programmed. (If more than 20 seconds pass before pressing a remote transmitter button, the programming mode will exit and the procedure will have to be repeated.)
Repeat the previous step to program additional remote transmitters. The doors will lock/unlock to confirm that each remote transmitter has been programmed.
When you have completed programming the remote transmitters, turn the ignition to (LOCK) or wait 20 seconds. Again the doors will lock/unlock to confirm programming has been completed.
Hope this helps you out.
Vic