RoF has excellent TIR 6DOF...therefore, I'd recommend an investment into TIR 4 or TIR 5. The 6DOF Z-Axis (Forward-Backward) Zoom function will solve your Gunsight zoom requirement, and more naturally than an instantaneous key-press switch in views.
Also, the Up arrow and Down arrow give (can give) three levels of Zoom forward and back. I can't recall if I manually assigned those keys (from some original/default key assignments) in the RoF settings...probably I did. Works (as well as does the mouse)for your cockpit/gunsight and external views of your aircraft (or others).
As for external view of your and other aircraft, in RoF Settings for "Input"/"Camera Controls", there are key selection options for cam.ext.free: my plane and cam.ext.free: enemy air, cam.ext.free: friendly air, etc. Just assign a key or Joystick button of your own choice to each view. In-game, each application of your selected key/button will cycle you through views of each/every aircraft of that 'class', enemy , friendly, etc.