Switching microwaves via semiconductor-isolator reversible transition in a thin-film of MoS2