I wonder if being a foreigner living outside the US I am allowed to buy stock listed in the NYSE or other American stock exchanges. In case it is possible, how do I do that?

Thanks.

**Update:** I live in Colombia (South America.)