If there is no gravitational force, the Earth wouldn't be orbiting the Sun.
True
It is the Sun's gravity which holds the Earth in orbit around Sun.
If there is no gravitational force, the Earth would move in a straight line without changing its direction. Hence, the Earth wouldn't be orbiting the Sun.