When may you pass on the right shoulder of the road?

If you pass on the right, do so only when conditions permit you to pass legally and safely. Under no circumstances are you allowed to drive off the pavement or onto the shoulder to pass another vehicle.
DMV Writen Test