Complex sentence: In 2007, she appeared in an episode of "Ugly Betty" with Vanessa Williams, and had a role in the Adam Sandler and Kevin James film "I Now Pronounce You Chuck and Larry".
Split into simpler sentences: In 2007, she appeared in an episode of "Ugly Betty" with Vanessa Williams. And she appeared with Adam Sandler and Kevin James in "I Now Pronounce You Chuck and Larry".