It's quite old bug. Ps version is 23.5.1 in video. Window10
You can see my keyboard shortcut is empty which Previous or Next Brush.
Then it shouldn't work. No matter how many times I press <(,) and >().
But, interesting point is... It still works.
So the solution I found is to delete all the brush presets. If i remove all the presets, you can see that no matter how much I press the keyboard, it doesn't work the way I want it to.
The reason why this is important is that left-handed users like me use the keys on the right a lot. (Assign shortcuts) However, if you don't delete the preset as I showed you, the brush will change as you want. So I had to delete all the presets for years, and I never made brush presets.
It's a funny bug, right? Rollback is not effective. From my memory, this is also a 5-6-year-old bug. Of course, it is less serious than other serious problems on the bug tab, so I don't know if this will be fixed. But it's proof that there's a bug that you have to erase the shortcut that doesn't work as intended, and even the default preset to solve it, so I've been working uncomfortably for years and reporting it like this.