Touchpad Gesure which makes audio shift from macbook keybaord to AirPods Pro

How can I create a gesture like 4 finger double tap on touchpad which will make audio output shift from speakers to AirPods? I am new with this application so if this is obvious I am sorry but please guide me how can I do that.