2013 F150 power window mystery

It sounds like you got a good start on a solution, but no matter how good the replacement motor is, it won’t do the job properly if the mechanism that raises and lowers the window is jammed and/or corroded or needs lube. In fact if there’s something amiss there, it could damage the new motor. Sort of like replacing a garage door opener, first step is make sure the door is properly counter-balanced & opens and closes smoothly by hand.