There is no single type that forces switches. A Pokemon with a type advantage will usually force out an opponent's with the threat of a super effective move but if the opponent can take a hit and kill in one shot, then it's most likely gonna stay. If you really want to force an opponent out, it takes a combination of movesets, item, ability, the mons in question, amount of hp both sides currently have and most importantly, which remaining Pokemon both sides have remaining, most, if not, all of which must be in your favor
When it comes to forcing a switch, it all comes down to prediction. If you succeed, you get a free turn, if you fail, press F. Since there is no definite type that forces switches, the closest you would get is analyzing the meta you're playing on. The most dominant ones are usually the ones that can force a lot of switches since they threaten most of the meta