After a lucrative 10-year relationship, Mozilla is breaking up with Google and switching to Yahoo as the default search provider for its popular Firefox web browser.