In a small bowl, mix together mayo, sour cream, vinegar, sugar, Dijon mustard, salt, and pepper.
Start layering the ingredients in a trifle bowl or glass dish with lettuce on the bottom, then add the macaroni pasta. Next add the red pepper, red onion, peas, celery, ham, olives, and cheese. Sprinkle with fresh chopped basil, and pour the dressing on top.
Cover tightly and refrigerate for at least 4 hours, or until chilled.