I read again your post...you already did a Factory Reset...not sure Wiping the Cache Partition will work...
I'm looking for another solution..
Did you tried to start your device in Safe Mode to see if it works properly ,you should check this too
Turning on Safe Mode is as easy as it is safe. First, completely power off the phone. Then, power on the phone and when the Samsung logo appears, press and hold down the Volume Down key. If done correctly, "Safe Mode" will display on the bottom left corner of the screen. If "Safe Mode" does not appear, repeat the steps above.
Once you're in Safe Mode, you can remove the third-party app that is causing issues on your phone.
To exit Safe Mode, simply restart your phone and it will reboot normally.
Note You can also enter Safe Mode by pressing the Power key, touching and holding the Power off icon, and then touching the Safe Mode icon.
Important: When you exit Safe Mode, some of your customization options (Wallpapers, Themes, Etc.) may be reset to default.
I saw this Tallman's solution if never.. but you say you check it already...so ...will see what happen after wiping the cache partition...
You can open Settings → Home Screen
Turn on Rotate to landscape mode.
Or you can pull quick menu down
When Auto rotates off, the icon is shown Portrait. Press it and it will enable auto rotate.
https://r1.community.samsung.com/t5/galaxy-note/can-t-auto-rotate-mt-phone-screen/m-p/9118030
Thanks Cassidy.
Hi AdamL316, Please check if you are experiencing this issue while your device in safe mode as suggested by Cassidy and get back to us with the results.
Hi, If you are not experiencing the issue in safe mode, then there is a third party application causing the issue. Please make sure all the applications are updated to the latest version. I suggest you please try uninstalling the recently installed apps one by one and check which application is causing the issue.