Melt butter in a large nonstick skillet over medium heat. Add onion and garlic; cook 3 minutes or until onion softens, stirring occasionally. Add corn, bell pepper, basil, and beans; cook 4 minutes, stirring occasionally. Add broth, sugar, salt, and black pepper; cook 7 minutes or until liquid almost evaporates. Remove from heat, and stir in vinegar.