A shotgun is most absolutely NOT obsolete. It doesn't need to be a Mossberg 590A1, either. A side by side Coach gun works just fine.
I've seen a lot of shotgun use overseas. The military still believes in the shotgun. I do too. I keep several at home.