Another option is to make a right turn onto the major street, ride as far as the nearest crosswalk or safe place to make a U-turn, cross the street (walking the bike if necessary), and continue in the intended direction of travel. Riding against traffic is not safe, and riding on a sidewalk is not fair to pedestrians (if there are any).