The gun had a switch allowing “a shooter to fire an endless stream of bullets with one pull of the trigger,” prosecutors said ...