Which type of USB socket is this?
It is called a "Mid Mount" or "Board Cut Out" type USB connector.  You also need to determine the exact format, eg. pin 1 being on the left or right - as viewed from top, 4 or 5 total pin format, then compare that to the replacement.