How to set MTP mode on phone with broken screen in USB charge-only mode
Probably its too late. I had exactly the same problem and i used a Bluetooth keyboard with a touch pad / a Bluetooth mouse should also work. Use the OTG to connect the Bluetooth device then disconnect the OTG. Connect it to the Computer and you can change the mode with the Bluetooth device.