What is the best way to switch between apps using BTT on Mac

I want to be able to switch between apps using a button or midi controller while Im actively dragging a file into another program. In my mind if I have four active apps I would just hit the button three times to get back to my app. What is the easiest way to achieve this? I think I have successfully managed to set up to do a switch back between two last active apps.

I love Better Touch Tool but sometimes I know I am not using it effeciently or overthinking. It has changed the way I use computers.