Factory Recovery should restore IE's functionality but I cannot guarantee it (nor can anyone).
If IE doesn't work you won't be able to download an alternative web browser or anything else, not on that PC anyway.
However, if necessary, you could use another PC to download the Firefox installer on to a pen drive, then move the pen drive to the PC which needs Firefox and start the installation.