Agreed with above, the switch is the likely culprit and probably the easier fix too. I had some other issues on mine I just went through however. The truck has been sitting for quite a while, and the motor was seized (water leaking in through the back glass seal). I found this reman at summit, and it looked and worked great. Not cheap, but I was having some trouble finding them:
My rear key switch also wasn't working, but I don't think that had been for quite some time even before I bought the truck (I took it apart and the main contact strip had basically disintegrated). I found this guy's shop where you can buy a whole new matching lock set:
My dash switch was a little corroded, but a few shots of contact cleaner, some manual exercising, and some dielectric grease and she was working good as new.
While I had my tailgate all apart, I took the opportunity to clean and regrease the gear box and regulator, which did help with the speed and ease of movement.
Those few things and chasing out a few gremlins in the old wiring, and she works good as new.