Broken wall box, how to fix?
If you can't repair the screw hole, the best option is to replace the box. If it's nailed into a stud and can't be easily removed, you might have to cut into it and destroy it. Once it is removed, you can replace it with an old work box mounted into the existing hole.