Great question — answering as the UphillTech team:
With drywall repairs, larger is not harder (really, within anything like reason) and certainly a "stud to stud" repair is easier/faster than fiddling with supporting a patch between studs, much less a patch that's supporting a box. Mostly, you'll be waiting for mud to dry. Unless there's some particular reason/need to retain the particular box, you could also move the box to a stud (unless there's a reason not to) and replace with a "new work" box - or install a hunk of wood between studs to support a new work box out between studs if the location can't be shifted 8 inches or less one way or the other. Since you'll have a large area opened for the patch, you have access for installing a...
Full answer by Ecnerwal: https://diy.stackexchange.com/a/192028 (CC BY-SA 4.0).
Need it done for your business? UphillTech.