Assuming that you've set it for USB debugging and you've had it connected to the PC and told it to always allow that PC:
Type “adb shell” and press “Enter.”
When ADB connects to your device (use "adb devices" to see), type “--wipe_data” and press “Enter.”
No guarantee that the screen will come back on if you do this.
If you're doing it to keep sensitive information from the people repairing it, in any reputable repair shop, the first step in repairing an Android phone is to wipe it. (In my shops, it was a "you're fired, let's take a walk to the door and don't come back" offense, and everyone had to sign that s/he read and understood it.) That way, you can't sue for stolen data - there won't be any data to steal by the time you walk out of the store.
If you can't connect to a phone in the condition yours is in, a quick "remove the screen, plug in a temporary one, do a factory reset" will take care of it. That's why shops will keep old screens that barely function - as substitutes in phones with screens that don't function at all.