To be sure, you should:
* Consult your owner's manual: This is the best resource for the exact location in your specific truck.
* Check online forums: Search for "1998 Ford F-150 inertia switch location" on forums dedicated to Ford trucks. Pictures from other owners can be very helpful.
Remember to be careful when working under the dash; disconnect the negative battery terminal before you start, to prevent accidental short circuits.