Hi Tom,
Welcome to Microsoft Community.
I'm Hahn and I'm here to help you with your concern.
It sounds like your Surface Pro 5 is experiencing significant issues post-reinstallation of Windows.
Based on your description, it seems that you used the Windows installation media to perform a clean installation on your Surface. Because Surface devices have specific hardware and firmware requirements, using generic Windows installation media may cause incompatibility issues.
You need to use the Surface USB recovery drive to reset your Surface to factory conditions. Creating and using a USB recovery drive for Surface - Microsoft Support
Once you complete the steps, your Surface Pro 5 should be restored to factory condition and functioning normally. If there is anything not clear, please do not hesitate to let me know.
Your Sincerely
Hahn. W - MSFT | Microsoft Community Support Specialist