Boot into recovery mode, press reset.
For how to do that. Turn the phone off. Hold the power button and volume up, release when you see the samsung logo. Using the power buttons to move and power to select, select reset device. Confirm and it should reset.
Of note, if a google account was previously linked to the device, you must login again with that google account. When you force reset a device like this it enables an anti theft mode. So set it up with your wife's original google account, then either remove the google account or reset the phone again the normal way.