I think I thought of meteors and asteroids as just going anywhere they wanted, silly really if I'd have just thought more about gravity.
They orbit the Sun like everything else.
If you think of the Solar System as a sphere in space with the Sun in the middle, then everything in that sphere will generally orbit around it (with the exception of Moons). The Oort Cloud is around the limit of that sphere - a place where many comets live that were never pulled into the middle to form planets and Moons. Sometimes due to gravity from objects outside of our Solar System (our Sun isn't stationary, it orbits the centre of the galaxy once every 250 million years or so just like we orbit the Sun), things get dislodged from that cloud and travel into the middle. This then starts and orbit which can last thousands and thousands of our years.
Many times it can cross the path of the orbit of a planet or whatever but it never hits it because it only comes round once every few thousand years and the planet wasn't in its path at that time, so the danger isn't exactly gone, it is just gone on our small Solar System scale.
That Men in Black analogy is extremely useful in how you visualise things because from our perspective the Solar System is this great big thing but from the perspective of looking at the Sun's orbit around the centre of the galaxy, we're just Moons of the Sun. And of course galaxies as a whole have their own shifts due to other galaxies near them. Our Milky Way galaxy is currently colliding with Andromeda. Obviously due to the great distances between things nothing will actually collide and it will take 4 billion years to happen but that is a good example of something upsetting the balance that our Solar System has already
(Artist's impression) Picture of the Oort Cloud:
[bigimg]http://www.utahpeoplespost.com/wp-content/uploads/2015/01/inner-oort-cloud.gif[/bigimg]
Milky Way
[bigimg]https://itzhakts.files.wordpress.com/2014/01/galaxy.jpg[/bigimg]
NASA simulation of galactic collision
[video]http://upload.wikimedia.org/wikipedia/commons/transcoded/c/cc/Andromeda_and_Milky_Way_collision.ogg/Andromeda_and_Milky_Way_collision.ogg.480p.webm[/video]
It's worth remembering after that that humanity's greatest space achievement is reaching the Moon.