Sometimes the wiring running between the drivers door and chassis breaks down due to constant flexing as the door is used. This can cause problems with the power door lock and windows.
Might also be a loose wire connection(s) at the drivers switch console going to that window motor.
Each motor has two power wires running to it from the passengers (lets say Green and Red). By changing the voltage polarity in the wires, motor direction is changed and thus the up/down action of the window.
Each passenger motor also has two sources of power.
One is from two wires that run from the drivers switch to the passenger control switch (lets say Green/Black and Red/Black) and then to the motor (via the Green and Red wires). By moving the drivers switch fwd or back the voltage polarity in the wires is determined which causes the motor to turn one direction or the other. The wiring setup is the same for each passenger window.
The other source of power to the motor is a hot power wire (lets say Blue wire) coming from the drivers switch console (not the switch but the console) and going to the each passenger switch.
When the passenger switch is engaged, power comes from this Blue wire and is directed via the passenger switch to the appropriate Red or Green wire of the motor to make the motor turn one way or the other.
Since the motor needs two power connections to operate (neg and pos), the switch also connects the return wire from the motor (either Red or Green) to one or the other wires coming from the drivers switch (Green/Black or Red/Black) to complete the circuit.
This is somewhat confusing. You might make a diagram.
Prior to replacing the motor try powering it directly with DC power.
If using a voltmeter to troubleshoot make sure to not use the chassis as a ground point. Remember when a either the drivers or passenger switch is moved one of the wires coming from the drivers switch (Green/Black or Red/Black) is serving as a return. The wire will change depending on the direction of the switch (polarity).
The Blue wire should always be hot.