Jupiter moving out of the inner Solar System would have allowed the formation of inner planets, including Earth.
It is a terrestrial planet because it has a solid, rocky surface like other planets in the inner solar system.