Answer
Inertia is not a "thing/force" that keeps the Earth moving.
Work Step by Step
Gravitational attraction from the Sun curves the Earth's path, but that force isn't necessary to keep the Earth moving.
Nothing at all is necessary to keep the Earth moving through space. That is the concept of inertia, the name given to the property that objects in motion will remain in motion.