Window motor question

Sounds like more of switch or a contact issue. If you have my luck then your new motor would be faulty But before doing anything expensive, I would check the wiring contacts (+ and -) and both switches. A two dollar circuit test light can save an amazing amount of money and time
good luck.