Slightly unrelated but do yourself a favour and download the Alt Tab app for MacOS. I haven't used a Windows machine daily for a long time but that window switching behaviour never went away for me, especially if I'm working on just the laptop screen.
I've been using it for the last 3 years since I needed to use Macs for work and it is a boon compared to the janky/jarring native Mac app switching behaviour.