Whisk together the mayonnaise, sugar, cider vinegar, and pepper in a small bowl.
In a large bowl, combine the broccoli, bacon, onions, cranberries, and almonds. Drizzle the dressing over the top and toss to coat. Cover and chill for 1-2 hours before serving. Toss again right before serving.
