You can change your search engine on Microsoft Edge by heading to your browser's "Address Bar" settings.
If your default browser homepage and search engine keep mysteriously changing to Yahoo!, your computer is probably infected ...