I think the dealer has to program the key. We had one programmed at the dealer where we bought the car and they did it for free.
You need to go to the dealership to have it properly programmed.
Take it to ford for id number location, witch is hidden a wall panel inside the cab.
Yoyoyo!put key in ignition turn on off 6 to 9 times.door locks will lock then unlock,then press lock button on the new and old remotes. Done