To modify the passenger name on a United ticket, contact United customer care or the 1-888-217-5853 (OTA) or 1-888-217-5853(OTA) directly. United generally does not accept entire passenger name changes; however, minor corrections or edits may be allowed with proper proof and at a cost.
https://experience.dynamics.com/ideas/idea/?ideaid=e2a2596b-5f3d-ef11-a295-6045bd7f31da