Uff, its hard to say without seeing the footage, but that could be relatively simple or very complex job. If there is shaky cam from cameraman, plus distortion from camera and window etc, and than you would need to find something outside, some traceable feature, that will probably be partly obscured trough small window, and white clouds can be harder to track, and you would need to match the movement of the clouds to the apply to this new flying craft.
If there is distortion in the footage you may have to understood to track better and apply distortion in the end, to the flying object you insert, so that match the distortion and the movement of the clouds, but this assumes the clouds are either so far away they don't appear to move much or you may have a situation where aircraft move faster than clouds so you have to compensate. Usually this involves complicated 3D track etc.
But it could be just short clip, of relatively steady shot trough the windows and clouds that don't appear to move very much, so it would be much easier. Its hard to know without seeing the footage.
Either way, generally if you are using for example planar tracker, you could track normally than export planar transform from the planar tracker tool to apply later for the match move. And you can put one planar tracker (steady mode) and one copy of the same planar tracker set to (invert steady) to bring back the movement. Than you put merge node or whatever you need in-between. After steady but before invert steady. You than can work on stabilized footage , which is easier and than when you are done you can set the two trackers to pass-trough. (CTRL + P) and put planar transform node, which is how I usually do it. This can help with rendering speed and make less prone to problems of softness because of match move which can happen sometimes.
Here is similar example for using fairly simple rotoscoping of the tattoo, but it could be used for anything that is trackable .

- sshot-511aaa.jpg (794.46 KiB) Viewed 690 times

- sshot-514aa.jpg (843.54 KiB) Viewed 690 times
If you are applying just a corner pin for screen replacement of something, you can use the corner pin mode built into planar tracker.
Surface tracker and ordinary tracker work similarly but they track differently. You can use steady / unsteady workflow with those as well.
3D tracker is more involved and requires bit more work, but it can be used with point cloud to track object that is moving or parts of the footage that is not moving and than using the point cloud points you put objects in the 3D scene. That may be best way to put flying craft or something in the scene, especially if you have 3D mode. But not sure what your skill level is. And for complicated tracks its probably better to use something like Syntheyes or some dedicated 3D tracker.
For more tutorials on 3D tracking and tracking in general, check out two you tube channels.
@MillolabTuts and @prophetless