Is this the driver side that's not working? I would guess that it is.
9X outa ten, the prob with these electric seats are the switches. Unless the truck has been sunk in water, the motors are relatively problem free.
If I'm correct with the problem being the driver side, what I've found is that the switch plate/mechanism has no protection from being contacted by the foam. The bracket for the switch is just a thin plate with the foam of the seat above it, micrometers from the back of the switch & those connections.
The foam breaks down on the outside edge where it sits on the frame of the cushion. Typical. This causes the foam to come in contact with the wiring harness & the connections to the switch when you sit on the seat, & in turn breaking the contact of the connection to the back of the switch plate. If the foam has broken down really bad, it can sink down far enough to actually break the poles that stick out on the back of the switch.
Few different ways to cure this.
Fix #1. Try swapping the switches from seat to seat. It may be that the switch itself has gone south. They do this. Especially on the driver seat. This only works on seats that have the same controls. Some don't. If this works, try to find a switch from a passenger seat @ the wreckers. They are always in better shape due to the lesser amount of usage that they see.
Fix #2. Pull the switch. Leave it connected. Does it work now? If so, you can bend that internal seat switch bracket to move the back of the switch away from the foam above it. Replace the switch & see if it works. Two probs with this fix. It's temporary because the real prob has not been cured. The foam will continue to break down, eventually coming into contact with the back of the switch again. And, bending the bracket with cause the seat switches to sit deeper into the cover. This can cause fitment issues with the seat cover, &/or the cover will develop tears & rips because as the seat foam is compressed when getting in or out, the cover is being forced down over the edge of the plastic of the switch plate. Those edges of the plastic switch plate are fairly sharp.
If the first suggestion works, you're golden.
If the second one works & you'd like to do a more permanent fix before the probs that I've explained about that raise their head, I can help you out with some details on how to remove the cover & get that foam built back up to stay off of the back of the switch plate/connection.
But I'd try the switch swap first.