Uganda and Namibia have taken the final two spots in the 2024 ICC Men's T20 World Cup in West Indies and USA.