To remvoe the sliding glass in the rear windshield get it serviced to not void your warranty. If youre doin it yourself, you'll need to remove the track that the glass runs on then pull it out.
The small sliding glass panel in the Ranger's rear window can be removed by smashing it with a blunt object. The window can only be replaced as a whole (left and right stationary sides, and sliding center panel), which is a job best left to a car mechanic/ car glass specialist.
You have to take the rubber seal off on the outside of the vehicle to do this and when you do there will be little metal clips you need to remove then pull the glass.