Did you try unhooking the battery overnight ...trick? Did it work? The reason for doing that is to help isolate if it's within the 'logic' portion of the window operation.
Try holding the switch in the "Up" position and whack the motor with the back of a screwdriver handle (or something a little firmer). Sometimes motors which don't get used a whole lot will get 'stuck'.
You could try to disassemble the switch and see if the contacts inside can be clean..
If you need to get your window "up" right away, because you need to use your truck, then I would pull off the electric window motor, ...then, slide the regulator assembly into the "up" position. Then reinstall everything. The glass should be "up" after that. Come back to it when you have more time.
All the logic for this stuff (windows/locks/security) is managed & controlled electronically, by the switch assembly and the module which is located below the switch in the driver's door. The DRIVER'S door switch is the master. There's a circuit board inside the driver's door switch assembly too. I know it's a PITA compared to the old days, but cars/trucks have been that way for a while now. And then there's the module which manages the logic. When they say there are over 3000+ chips in a truck, ..yeah, they're all over the place.
And you might pull the driver's door jamb wire boot back to verify there aren't any wire breaks too.
Instead of buying an expensive switch this video shows you how to take apart and repair the corroded connections which usually is the cause for default in th...
www.youtube.com