Second, whether good bacteria will outnumber the "bad" depends on how many of each ... goodness value? there were at the start. If your raw milk is contaminated with sufficiently high numbers of coliform bacteria (E coli and friends) there is no amount of bacterial goodness that can make that milk good for cheesemaking. Most likely you're looking at "early blowing" (literally the cheese blowing up like a rugby ball, with a great big fissure in its center, because of gasses released by bacteria early in its maturation).
Third, some "good" and "bad" bacteria can coexist quite happily with each other simply because they do not consume the same resources and so do not compete for them.
Don't have a fourth one for you.
The most important factor by far is aging. There's a reason why the French have a special name for the special job of aging cheese, "affineur". A good affinage can transform the most mediocre cheese into a culinary tour de force.
Source: I make cheese and age it myself.