Yes buy four first tag at $186 and then you buy the 2nd tag at $31.75. The 2nd bear tag is unrelated to the non-res deer tag.
The deer tag can be used on a bear only when the seasons occur simultaneously. See below from Regulation booklet, pg 86:
Nonresident Deer, Elk Tag for Bear, Mountain Lion or
Gray Wolf
Nonresident deer and elk tags, excluding Nonresident
Junior Mentored deer or elk tags, are valid to take a black
bear, mountain lion or gray wolf, if a season is open for that
species, instead of a deer or elk where and when the deer
or elk tag is valid, and there is an open deer or elk season
in that same unit. Hunters may buy other bear, lion or wolf
tags, but after the deer or elk tag is used to harvest a deer,
elk, black bear, mountain lion, or gray wolf, a second deer or
elk tag may not be purchased ? except by buying a leftover
nonresident deer or elk tag when available.