Verified Answer :

it would float in space since there is nothing to pull it

AL2006


Orbits only exist because of gravity. 

If gravity somehow suddenly shuts off, then an object
in an orbit sails away in a straight line, in the direction
and at the speed it had when gravity disappeared.