Unfortunately, Microsoft does not want you to uninstall Edge and made it nearly impossible to do, so instead of uninstalling, we are going to disable it.
NOTE: Make sure you have another default browser selected before doing this.
1. Navigate to C:\Windows\SystemApps with File Explorer
2. Locate the folder named “Microsoft.MicrosoftEdge_8wekyb3d8bbwe”
3. Rename the folder; for example, by appending “_DISABLED” to the end of the folder name (just click on the folder and press F2 to rename the folder)
NOTE: If you need to undo this, rename the folder back to its original name, removing _DISABLED from the name