You may have a broken wire for the power window circuit. If you have a meter or a test light, do this simple test. At the window motor, see if you get power on one wire when pushing the up switch and on the other wire when pushing the down switch for the drivers door. Let me know what direction has no power.
Ok. Below is a wiring diagram that I am using for your truck.
The ORANGE/WHITE striped wire comes from the dash fuse box/GEM module. Do this other check. There are two big connectors on the back of the dash fuse box. They are held down with 10mm bolts. Unscrew the bolts and remove the connectors. See if there is any green corrosion or signs of water on them. Also check where the connect at the fuse box. You may have to unbolt it from the dash to see inside, unless you have a mirror and a flash light.
Check for continuity from the switch to pin #9 and pin #10 on the connector below from the connector to the switch. If the circuits check out good, replace the GEM module and possibly the fuse box.
And here is the other part of the wiring diagram.
Sorry about the diagrams. Your GEM module does not need to be programmed. Just make sure it is for your vehicle. The main difference is year and whether it is 4x4 or not.
Do the mirrors not move at all or only in one or two directions?
It sounds like a wiring or switch problem. Let me do a little digging here at work and see what I can come up with.
Below is a pin point test for the LF window problem. It is a little long, but it is a PDF file that you can print out.
Don't worry about the codes unless you have access to a code reader or scan tool that can communicate with the GEM module.