Are you able to attach a photo of the stripped thread? it would make it easier to asses the damage on whether you should attempt repair or replace the motor housing.
My conclusion
By the sound of it however, I would replace the damaged part as if the motor doesn't stay on the extruder, and there is a kink in extruding, I suggest replacing the part rather then trying a quick fix and it doing either nothing or making things worse.