Alabama lawmakers approved a ban on Glock switches and other conversion devices that convert semi-automatic weapons into machine guns.