Fusion - Recommended After Effects replacement.
As part of the DaVinci Resolve suite of tools Fusion offers a similar scope to After Effects, in a node based workflow (which might mean a bit of a learning curve).
Also consider
Another nodal compositing solution is Nuke. For a workflow more akin to After Effects there's HitFilm Pro.