Relay switching issue between 2 sources

Draw a real schematic on a sheet of printer paper and take a photo and post it.

Do you think the relay might not be switching because it is ONLY connected to the USB ?

Did that occur to you ?

Try drawing the schematic again. FYI. you can't power the device that is switched from the device doing the switching (duh).