To program a Ford key, insert the ignition key into the ignition, then turn it to the "On" and "Off" positions alternatively eight times, ending in the "On" position. Then, press a button on the fob within a span of 20 seconds.
You should complete turning the key eight times within a span of 10 seconds. During this process, the doors of the vehicle lock and unlock alternatively, which indicates that the programming mode of the car is activated.
After this, when a button on the key fob is pressed, the car's doors should lock. Now, press the unlock button to test for correct programming. Complete programming the Ford key by bringing it to the "Off" position.