Cook the corn for 3 minutes, remove, reserving the water, and cool. When cool enough to handle, use a knife to remove the kernels. The yield should be about 2 cups.
Meanwhile, cook the shrimp for 3 minutes or until cooked through. Remove, reserving the water. When cool enough to handle, roughly chop.
Cook the gemelli according to package directions. Drain and rinse under cold water. Place gemelli, corn, shrimp, black beans, tomatoes and basil in a large bowl. Reserve.
In a small bowl, whisk together the vinegar, garlic, and olive oil. Toss with pasta to evenly coat. Taste and adjust seasoning as needed.