Pair before court on firearms charges after shooting