Idler pulley

How long can I drive my car with a broken idler pulley?

Not very long. You will cause the serpentine belt to fail very quickly. The idler pulley is at most a $40 replacement unless you need a new belt as well.