I did this several years ago on my 2002. Do not remember the bolt size replacement and did take the window out.
My issue with the window was once it was all the way up, it would not go down. Got a new motor which worked for a few weeks and then did it again. Turns out the motor would roll past the last tooth onto a high flat surface of the regulator. It did not have the power to reverse so it remained there. I took the regulator out and cut one more tooth so the motor could roll into it. Have not had a problem since.
Good luck, it is not too bad.