Whisk the vinegar, salt, and pepper in a small bowl. Gradually whisk in the oil, starting with a few drops and then adding the rest in a steady stream, to make a smooth dressing. Shear off the corn kernels with a sharp knife over a bowl. Toss in the tomatoes, scallions, and mozzarella. Pour the vinaigrette over the salad and toss to coat. Cover and let set for 15 minutes or up to 2 hours. Before serving tear the basil over the salad and stir.