You can factory reset a PlayStation 4 from your console's dashboard and via safe mode on your console.
You can change the email on your PS4 account on the console itself or through the PlayStation website. Here's how to do it.