To be absolutely certain, you should:
* Consult your owner's manual: This is the best resource for your specific vehicle. The diagrams should show the exact location.
* Use a repair manual: A Haynes or Chilton manual for your year and model F-150 will have detailed diagrams and instructions.
* Search online for a diagram specific to your engine: A Google image search for "[your engine size] 1999 Ford F-150 oil pressure sender location" might yield helpful results.
Remember to be careful when working near hot engine parts and always disconnect the negative battery terminal before working on the electrical system.