If you want to be sure not to use the broken port, open Device Manager, click Ports, right-click the broken port, select Driver, and click Disable.
Printer installation will likely detect the port the printer is attached to, and you can set the printer's port in Windows Control Panel.