Also
The motor itself should be taken apart, cleaned, and re-lubed. The grease inside the motor will become dried and very stiff over time and that impedes the motor's ability to create torque. Also sometimes the little curved magnets inside will become detached from the case, jamming up the motor. On occasion I've had to re-glue these using an epoxy, and the motors usually have survived if not subjected to long periods of electrical current while being jammed.
Basically, it's nothing more than taking everything apart and cleaning/lubing, then re-assembling. Inside the motor, if you any kind of steel wool, make certain you leave no trace as this can cause an electrical gremlin.
When I do this, I remove everything: the glass, the window regulator, the motors, everything. I take it all apart and when it's done, it's like new.
Another part that can go bad is the window switch itself. I haven't taken apart a Toyota door switch yet, but if it's capable of being dis-assembled, (some makes are sealed and impossible to take apart without destruction, some are not) do so and clean it thoroughly. This will assure the most current possible to the motor, which is important.
Bottom line: ALL of the components age over time and each becomes less efficient. So, when added up, the window slows down and then finally stops moving.
The window rubbers will become saturated with dirt, so they should be thoroughly cleaned and lubed with silicone. That's the most you can do without actually replacing them, which some folks do.
So if you're real good at taking things apart AND THEN PUTTING THEM BACK TOGETHER AGAIN, you can do this. Hint: mark things (left/right, back/front, or up/down) before disassembly. Pictures can help too.
Dana