Get a 8"x 8" box, go by uhaul and get one of their cheap moving blankets($3ish)and some bubble wrap. Wrap rifle or shotgun with bubble wrap, roll up rifle or shotgun in moving blanket, fold ends to cushion each end, stuff in box, tape the ever loving snot out of the box, ship.
It's almost impossible to damage when shipped this way.