A modern 20ga with a rifled barrel using one of today's 3" slugs will kill a black bear with no problems. It is the same as with all game where you need to study the vitals area and then place a slug there and the bear won't go more than 50 yards or less.
PS: Of course this is keeping your shots 75 yards and under. Will you be hunting over bait from a treestand ?