The other two teams in Group A will come from preliminary qualifying matches that include Haiti, Guatemala, the U.S. Virgin Islands and five other nations.
The African teams were divided in 10 groups for qualifying matches beginning in November. South Africa, last year’s World Cup host, was drawn in Group A along with Botswana. Ghana, the best African team last year, is in Group D with Zambia and Sudan.
The qualifying draw in Rio de Janeiro is the first major World Cup event in Brazil since the South American nation was awarded the competition in 2007.