There are two ways to reset a Nintendo Switch: a soft reset, which only takes a few seconds, or a factory reset, which will wipe all of your data.
You can change your Epic Games password from any browser by going to the Epic Games website's "Account" section.