Because the exact location can vary slightly depending on the specific configuration of your engine, it's best to consult a repair manual specific to your year and engine. A Chilton's or Haynes manual will have diagrams showing the exact location and will also assist with the removal and replacement process. You can also find diagrams online by searching for "1989 Ford F150 4.9L engine diagram".
Looking at pictures online of the engine bay of a similar vehicle will also greatly help you locate it.