Replacing the brake sensor for a 1999 F-350 returned the non-working cruise control feature back to life.
Subscribe - / @soladaddy
Here is the part I used.
Amazon Affiliate link - https://amzn.to/3apOuIC
Make sure it fits your vehicle.