It'll take some thinking... I remember when mine needed replacing and this huge part arrived and I saw I only had a small opening to squeeze it through. Twisting and turning it helps until you can slide the motor portion out of the hole, and the rest should just follow.
As DIY jobs go, I rate this as "easy, but requires lateral thinking"