The surgery to repair TGA is known as an arterial switch operation. It's done by a pediatric heart surgeon. The surgery lasts about 4 to 6 hours.