ELI5: Our sun is constantly moving around the milky way galaxy. What are the chances our solar system encounters a black hole or a pulsar?

I understand if either of these (or probably several other celestial objects) were to interact with our solar system, it would be incredibly disruptive and could easily end life on earth as we know it. What are the chances and how do we know what they are?