[1]http://en.wikipedia.org/wiki/Nemesis_%28hypothetical_star%29
By that time, we might have computers of sufficient power working from an astronomical catalog of sufficient completeness to reverse-propagate the catalog far enough to actually blame the passing stars for kicking out comets in our direction.
I rather thought that Nemesis had become a fairly untenable hypothesis in light of the the facts that: (1) Insofar as there is a periodicity to extinctions to explain (what Nemesis was posited to explain), more recent analysis has shown that it is too consistent for any plausible orbit for Nemesis, and (2) A sensitive enough survey to detect stars (including brown dwarfs) within the radius of Earth in which Nemesis would have to exist has been conducted and failed to detect any such star.
Pertaining point #2, I'm not very confident in any empirical data observed at this point in human evolution. It's not to say that scientists aren't working very hard to learn things, but moments like http://www.theguardian.com/science/2015/feb/26/found-a-black... tell me that we're going to go through many more "we're absolutely sure / wait, we were wrong" moments, especially when pertaining astronomy and ontology, both fields with many more unknowns than true facts.
Now where did this asteroid come from, and how did it get here? That's another story entirely for which I don't have a good answer.
[0] http://en.wikipedia.org/wiki/Cretaceous%E2%80%93Paleogene_ex...
The orbits of asteroids are in general not stable. There are currently some >7000 known earth-orbit-crossers, which, if their orbits would not be modified by something else and given enough time, would all hit us eventually (except one which shares our orbital period). And that's really just scratching the surface, as we still haven't mapped but a small fraction of asteroids.
The sky up there is still really chaotic, as space is really big and ~5B years is simply not enough time to produce a stable equilibrium.