Hello, it is prudent to check for power and ground at the motor before replacing it. Sounds like maybe you have an issue with the command to the window, likely at the master window switch. But please: DON'T GUESS! Test it. For the cost of replacing the motor unnecessarily already, you may have been able to diagnose and repair what's really wrong with the car. Good luck.
RepairPal Certified shops can diagnose and repair your 1997 Mercury Sable. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.