This doesn't sound like an STD but I can't really say without seeing it. It's probably a cyst of some sort. You ought to have a doctor or dentist have a look. More than likely you won't have to do anything about it but at least you'll know what it is.
Best.
Dr. Rockoff