This is my Rifle, This is my Gun
Maybe worth noting that you can die, and revert to last save to.
I did this coop with a buddy on Legendary. When I died, I obviously lost my guns and was given a new set. So we just restarted a new checkpoint/save and I had my magnum back. Same tactic as you mentioned if you drop/swap the gun.