Hello I will help you with your question,
If the motor still tries to work you can replace just the window run (gasket) for about $60
If you need to replace the motor that can be done for about $170
Let me know what I can do to help you with this
I'm not sure what the estimate covers but if you need to you can shop the job and find a better price. The list for the motor is $244 and the labor to install it is .5 hours but the motor is available for $80 aftermarket.
If the motor is trying to work the gasket (window run) can be replaced in about 10 minutes