Alright so to do this glitch you need 1: A class with:One Man Army Pro & Tactical Insertion 2: A Class with a claymore to switch to.
So basically what you do is you switch to you're One Man Army and soon as you pick the class to switch to(a class with a claymore) you hit RB as fast as you can and you'll lay a Tactical Insertion at the same time you end up switching classes. Then once it switches you will have out a claymore and there you go,you can shoot with the claymore.
WARNING: If you sprint after doing the glitch i believe it cancels it out (not 100% sure on this)