Trinidad and Tobago and Venezuela were shaken by a 5.2-magnitude earthquake on Wednesday evening, according to the United States Geological Survey.