Passenger window motor needs replacement BUT no power to lower in order to remove it

the master switch on the driver’s door seem to go bad. especially the driver’s window switch in it because it is used the most. it has to be replaced as a whole unit. you can see if you can pull one of the connectors for one of the other windows on the master switch and change it with the driver’s window switch to see if it makes the driver’s window work. if it does you know it is the master switch that needs replacing.