Connect USB relay (or FTDI device), after drivers installation go to Device Manager
Open USB Serial Port (in example COM15) Properties
Click on Port Settings > Advanced...
Change in COM Port Number in example from COM15 to COM3 and click OK
Now any time when this USB relay is connected to this PC will use COM3