place broccoli, cheese and onion in a large bowl. mix mayonnaise, sugar and vinegar; toss with broccoli mixture. refrigerate, covered, at least 4 hours. stir in bacon just before serving.