A USCG Master with an Oceans endorsement can sail from a US port to a foreign port greater than 200nm from shore. (Say Norfolk to Bermuda.) With a near coastal rating, the voyage must begin and end in a US port. The STCW portion of your credential indicates in what capacity you can sail internationally.
A few exceptions to sailing internationally would be Canada, Bahamas, and Mexico, I think.