Make the salad: Gently toss tomatoes, melon, cucumber, and onion together in a large bowl and set aside. Combine vinegar, oil, salt, and pepper in a small bowl. Pour vinaigrette over the melon mixture and toss to combine. Cover and refrigerate for up to 2 hours. Sprinkle with basil and serve.