if u could get good a speed swapping and fireing a shot off you could theoretically outdps using one of either weapon at once
the switch speed also allows you hit people with ur shotgun before your rocket reaches at certain distances
You can also “miss” by a slightly wider margin and still do some damage