I had this problem on an 89 Ranger. There was a switch near the firewall (maybe on it) that could be adjusted to cycle the A/C to keep it from freeing up. I don't know if it was sensing high or low pressure to kick the A/C compressor out. I was able to adjust it so the A/C would not ice up and block the air flow. I don't know what the equivalent is on newer Rangers but I suspect it is not adjustable.
On the last trip I took to Kansas in April, I had a similar problem with my 02 Ranger coming back home after having the A/C serviced there. I don't know if it got overcharged but it didn't do this before I had it serviced, it just did not cool quite as good as it should. I have not looked into it because I found when it freezes up, I just have to turn the A/C compressor off for a minute or two, the ice melts and the air starts blowing again for another hour or so.
I have also found recently that my 02 Ranger A/C compressor sometimes will not kick in if I turn it on while driving down the road. If I turn it on at idle will kick in. I don't understand that but I may have a A/C relay that is acting up. Maybe that has something to do with it freezing up too. The A/C relay went out under warranty and was replaced by the dealer. I may try replacing the relay.
2002 FX4 Bright Red Supercab 4.0 SOHC, manual 5-spd & Tcase, 33" BFG MTs, K&N air filter, Modified air box inlet, Gibson SS cat. back exhaust, Bama flash, Hidden Hitch round receiver, Rear helper air springs, Electric trailer brake controller, Line-X bed liner, WAAG bar with KC lights and Wildernest shell.