how to replace #4 cylinder coil?
Literally 1 screw and an electrical connection.
4.6 engine or 5.4 engine?
5.4 is coil on plug. As Andrew stated above...remove electrical connection at the coil, remove small bolt and pull the coil off of the sparkplug. I would recommend only using Ford Motorcraft coils as the aftermarket ones sometimes don't last very long. Ford Motorcraft costs more, but in the long run worth it.
Looking for a Used F-150 in your area?
CarGurus has 203,977 nationwide F-150 listings starting at $1,273.
Search Ford F-150 Questions
Ford F-150 Experts