1.Delete com.apple.Safari.plist file and test.
Empty the Trash.
Quit all applications.
Hold the option key down and click the "Go" menu in the Finder menu bar.
Select "Library" from the drop down.
Library > Preferences > com.apple.Safari.plist
Right click on it and select "Move it to Trash".
Restart and relaunch Safari holding the shift key down.

If this doesn’t help, “Put Back” the com.apple.Safari.plist
Right click on the Trash icon in the Dock and select “Open”.
Right click on the com.apple.Safari.plist and select “Put Back”.
Select ”Replace” from the dialog when it appears.
2. Do you have any anti-virus software installed on your Mac?
This is a diagnostic test.
Please run EtreCheck and post the report here.
https://etrecheck.com
Click “Free Download” button, open Downloads folder, click on it to open, and then select ”Open”.
Click on the bouncing EtreCheck icon in the Dock.
“Choose a problem” from the popup menu box, and then “Start EtreCheck” in the dialog.
Click “Share Report” button in the toolbar, select “Copy to Clipboard” .
Paste it into the reply.