Haven't tested that configuration, but I know it will still work with the wifi box disconnected and the cable patched over to the board with the microUSB port but never tested it over the USB connection with the WiFi box still connected. It's possible that it could work, but also possible that if the controller detects the board still connected that it won't accept connections over the USB connection.
Side note - Instead of running the USB able out the side or front of the printer, I replaced the USB-A port with a USB-micro port - I think it makes it look nicer and easier to replace the cable if it somehow gets damaged. https://www.amazon.com/gp/product/B07LB4F9V7/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1