Malawi booked a place in the second round of the Women's Olympic qualifier after a 3-0 away win at the Estadio do Simpeto in Maputo.
Goals from Sabina Thom, Temwa Chawinga and Tabitha ensured Abel Mkandawire's team earned a 14-1 win on aggregate.
At the Stade Alphonse Massemba-Débat, Gabon overturned a first-leg two-goal deficit as they secured a shock 2-0 win over Congo in Brazzaville.
Editors' Picks
The 2020 African Women's Cup of Nations hosts had gained a 2-0 first-leg advantage but failed to consolidate in the reverse fixture, hence their expulsion.
With the two teams tied 2-2 on aggregate, it was the Gabonese that advanced after a 5-3 win on penalties at the Stade Alphonse Massemba-Débat.