If you have a Time Machine backup...
Location of Mozilla Firefox history
macOS
/Users/<username>/Library/Application Support/Firefox/Profiles/<profile folder>
/Users/<username>/Library/Caches/Firefox/Profiles/<profile folder>/cache2
rjf380 Question owner 9/19/17, 2:52 PM
So, between these posts, and a visit to Apple's Genius Bar, I found a solution. (1) Access the Firefox profile folder as described above and click to have it open in Finder. (2) Close Firefox application. (3) While having the Firefox profile folder open in Finder, open Time Machine from the menu bar at the top of the Mac screen. (4) The Finder folder will then be displayed for all previous updates. Select the most recent update (or the update that would contain your browsing history), select the profile folder, and then click restore. (5) Exit Time Machine.
My Firefox browsing history is fully restored.
Thank you again for volunteering your time to help.
Modified September 19, 2017, 9:52:21 PM PDT by rjf380
https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data