In a small pot mix the vinegar, salt, pepper, and sugar. Bring to a boil to dissolve the salt and sugar. Add 1/2 cup of corn to the hot vinegar. Allow to cool to room temperature, then add the tomato. Set aside or refrigerate until ready to use. Before adding the relish to the dish mix in the green onions.