How can delete Yahoo
How do I delete Yahoo from Firefox
Are you talking Icon/Addon/yahoo search engine?
You may find that this support article should help you to remove Yahoo as a search engine in Firefox:
If you have used an add-on to add Yahoo, this article will help you to remove it:
You can do a malware scan just to be sure.