In a dramatic high-tempo game in the San Francisco Bay Area, Folarin Balogun scored near halftime then was sent off after the break, with Malik Tillman doubling the lead eight minutes from time with a sumptuous free kick.
Victory brought an end to a US run of 10 consecutive defeats by European opposition, and set up a last-16 tie in Seattle with Belgium, who rallied from two goals down to beat Senegal 3-2 after extra time.
Earlier, Harry Kane scored twice in the final 15 minutes to see England through to the World Cup round of 16 as they left it late to fight back and overcome the Democratic Republic of Congo 2-1 on Wednesday. England now head to Mexico City to play co-hosts Mexico on Sunday.
