Switsh between last used window of same application

Hey, can somebody tell me how to set up a keyboard that can do this. For example, I have 3 Brave windows open but actively work with two of them. One just displays my calendar. Now I want to cycle or switch between those two actively used windows.

I found this superuser post, but it seems you can't accomplish this with the normal Mac preferences settings.