Uruguay, who finished the game with ten men after Nahitan Nandez was sent off in the 74th minute, will face Colombia in Charlotte, North Carolina, in their semi-final on Wednesday.
Colombia, now unbeaten in 27 games, beat Panama 5-0 in Saturdays other quarter-final earlier in Arizona.
The other semi-final, in New Jersey on Tuesday, will see world champions Argentina face surprise package Canada.
For five-times world champions Brazil it was a disappointing early end to a tournament in which they never truly clicked, and a lot of work remains to be done if Dorival Juniors team are to be in shape to compete for the title in the 2026 World Cup.
In a city better known for boxing than for the beautiful game, it was a bruising contest with little quality play and a tournament high 41 fouls.