Proper reinforcing of electrical box on drywall
Since the box is so far off the stud, my suggestion is to take that existing box off and put an old work double gang in. It secures to the drywall and should fit easily since the stud is far away.

Trying to nail the box in further is pointless since the drywall is up.