The correct way to say "they like something" is:
A ellos les gusta.
This is used when referring to a group of people (they) in a general sense. If you're referring to a more specific group, such as "you all" in a friendly or informal context (as in Spain), you might also use:
A vosotros os gusta.
However, for "they" specifically, use A ellos les gusta.