Vinicius Junior scored his first international goal as Brazil thrashed Chile in their World Cup qualifier at the Maracana stadium.
The Real Madrid player scored either side of Neymar and Philippe Coutinho penalties for the hosts, who had already reached the finals in Qatar.
Everton forward Richarlison added a stoppage-time fourth for Brazil.
Uruguay and Ecuador also secured automatic qualification for this year’s tournament on Thursday.
They will join group leaders Brazil and second-placed Argentina, who play Venezuela on Friday, at this year’s tournament.
Uruguay beat Peru 1-0 while Ecuador lost 3-1 to Paraguay, but fifth-placed Peru’s defeat means they cannot now catch either of them.
Peru, Colombia and Chile will now compete for fifth place and a play-off spot against a team from the Asian confederation.