By KeySwitch you mean changing the instrument with special keys on the keyboard? This would imply transforming a key to a program change signal, which tells the sound engine to use another preset. To my knowledge nothing in the sf2 capabilities can do this but you can use an extra layer dealing with midi signals such as jOrgan (its primary goal is to create the interface of an organ but you can do everything with it).