The wiper motor itself is a common thing that fails and all the auto parts stores carry rebuilt motors but if you want to check for power unplug the motor and test for power with a muiti meter at the wiring harness
RepairPal Certified shops can diagnose and repair your 2007 Ford Ranger. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.