Can I successfully program a Ford 4 button key fob on a vehicle that uses a 5 button?

My 2005 Navigator uses a 5 button fob; lock, unlock, lift glass, power lift gate, and panic. A replacement 5 button fob costs a lot and I have a brand new 4 button fob. Does anyone know if it will successfully program to the vehicle? I'm really only worried about the lock/unlock feature working, not so much the lift gate

Unless you have the right equipment, you can't program any fob.