This is a quick way to get your truck moving and then a permanent fix with replacement of a switch.
You may not have noticed, but your brake lights may also not be working.
This same switch is used on many Ford models. Please check for your model and figment.
Here’s the link for the part I used
https://amzn.to/3OOvOqN (this is a standard SLS510)
this is a similar part but half the price. https://amzn.to/3T5oVnO