@Marcos-Martinez-Debelluit, this is one method. I used the SoundVolumeView.exe tool from Nirsoft.

SoundVolumeView.exe /SetDefault "Realtek*\Device\Speakers\Render" all SoundVolumeView.exe /SetDefault "*USB Audio Device\Device\Speakers\Render" all

If I run the above commands while Spotify was playing a tune, it switches my computer's audio output from between my "3- USB Audio Device" (usb headphones) and "Realtek High Definition Audio" (speakers).

Notice I shortened the device names that the GUI showed me using the * wildcard.

ae6ca298-41ba-4ae5-969f-18e6e1ace8e7-image.png

I have Spotify set to "This Computer".

cf86c6d7-3906-49a3-909d-765410db633e-image.png