The key switch is notorious for quitting. Even with the window out you need skinny hands with 4 wrists to get in there and unbolt the rear key switch assembly. At that point you can probably see what the trouble it. I have replaced the contacts on there, which works for a few years or so, but the best bet is to just replace the switch (if it needs it). It sucks having to get back into it. Check the connectors under the tailgate first to see if one of them has come unplugged.
When you replace the glass you should probably replace the window seals that it rides against, unless they are relatively new. Otherwise the new glass will just get scratched too. Also check out the felt in the channels (down inside the tailgate.) Those need to be relatively OK for the window to track right.
As for polishing, I tried it once with some kind of glass polishing compound and a drill. Worked it for a couple of hours, couldn't see any difference and gave up. The replacement cost varies a lot based on what kind of glass it is. The clear should be <$100, while factory tint is a different kind of glass and >$200 last time I checked. I ran clear with tint film, which worked fine for several years until it finally started to peel. The tint is also susceptible to damage if you pile a lot of stuff in the back of the truck. Now I run the 89-91 style with the little grid printed on the inside of the glass, because I figure it's more durable. I don't know if these are available except as used OEM pieces.