Switching camera views does not involve changing out “GameMode” which is a very specific class in Unreal.
Here’s something to get started: