The stars you are referring to are called rogue or exile stars.
One way such stars are created is when one member of binary star system
Goes supernova and loses a great portion of its mass. This...