Impossible. The sun doesn't have enough mass to turn into a black hole, and when it dies in 5 billion years it will engulf and destroy the earth, which leaves 5 billion years for a distant black hole to suck us all the way in. Never going to happen in that time.
We have a supermassive black hole in the center of our galaxy, the milky way, which has 4,000,000x the mass of our sun, but it is 25,000 light years away.. The earth is safe for now since it is trillions of miles away.