The Warp Stabilizer effect can help with that. In this video, I show how to smooth out an abrupt camera move:
https://www.video2brain.com/en/lessons/stabilizing-motion-with-the-warp-sta...
---------------------------------------------------------------------------------------------------------
Todd Kopriva, Adobe Systems Incorporated
After Effects quality engineering
After Effects team blog
---------------------------------------------------------------------------------------------------------