This paper studies a time-switching advection-diffusion system modelling the competition between Aedes albopictus and Aedes aegypti mosquitoes in heterogeneous environments. The switching mechanism is induced by periodic releases of sterile Ae. albopictus mosquitoes, which are active only during their sexual lifespan within each release period. By defining a minimal release amount and four critical release period thresholds, we establish the periodic dynamics of the system, providing new insights into optimal control strategies of mosquitoes. Specifically, the trivial steady state is globally asymptotically stable if sterile releases are sufficiently frequent and abundant, which ensures the eradication of both Aedes species. For less frequent sterile releases, we prove the global asymptotic stability of the two semi-trivial periodic solutions and demonstrate the existence of a coexisting periodic solution, indicating cases where mosquito control fails. Numerical simulations are presented to validate our theoretical findings.