If I remove Windows and install Ubuntu, will the network drivers get reinstalled or remain the same

Network drivers are separate in Ubuntu and Windows. The drivers are not shared. To make sure your network card still works, boot into a live system and test it. Ubuntu ships most required drivers by default in the installation image.

You might not have the connectivity issues on Ubuntu since the drivers are written differently depending on operating system.