Undo 'Jumping' and No Redo?

I downloaded and installed a python script to allow locking the view from rotating from a given position to try out but I removed it after trying it out because it worked great for what it was meant for but I decided the use case was too small for me. I basically just wanted it for one thing I was doing so I elected to not keep it. I removed it from blender, deleted the .py file, etc and then, after restarting Blender entirely, suddenly (not sure if related but that was what I was doing beforehand so…) started getting these weird errors with undo and redo.

Sometimes undo works as normal but the majority of the time, attempting to undo one thing, kicks me back to four plus things I’d done before? And no matter what I do or undo, the redo hotkey simply does nothing and is greyed out in the menu.

I have tried undoing everything I did to get the script running (since that’s the last unaffected thing I did, as far as I know), restarted Blender multiple times, restarted my whole computer, tested in new save files to see if it was just a messed up file, and still no luck getting undo and redo to work normally again.

(Also, if you think just straight up reinstalling Blender is the best solution, is it possible to save/export my settings and addons and such so that my custom settings don’t have to be redone and my addons all put back in manually after the reinstall?)

ETA: This is in Blender 4.1, there doesn’t seem to be an optional tag for that, I guess?

Easy Check…go to the top bar select EDIT > and check if the hot Keys are different …It should be Ctrl + Z and Shift + Ctrl+Z…if not go to Preferences and Keymap…search for UNDO and change it back if different, repeat for Redo.

Unfortunately that wasn’t the issue. My hotkeys are as normal.

Then I suggest either running Blender and use, Load Factory Settings, but that will remove all your plugins…
The problem with trying to save your settings and addons is you don’t know where the problem is coming from that script or where it might have been installed unless you can find everything it did and reverse it, the problem might come back if you try to use the old settings and addon preferences…just bite the bullet and start fresh. It really doesn’t take that long…

I place all my addons in a folder with Version designation, that way if I need to reinstall, they are all in one location and I don’t have to remember or search where they are or what they were called. Saves a lot of time and headache!