ideally you would have tracking points on your green screen to use to aid in matching the camera move (either manually of for tracking with ae’s motion tracker or other motion tracking software).
since it sounds like you do’t have those, you can try tracking points on the subject and using those. this will only work if your subject is not moving much… the points you track will need to be consistent to be able to use them to track scale. example: if the subjuect was facing the camera the whole time you may be able to track points on each shoulder, or even ears to establish scale. then apply that motion to the background layer.
check the manual and help menu for how to use the tracker controls. you may be able to find a tutorial here too, try searching for ‘motion tracker’
Kevin Camp
Designer – KCPQ, KMYQ & KRCW