Jennifer Aniston (Rachel Green) wears the Cookie Monster T-shirt in:
Season 6, Episode 16: "The One Where Joey Loses His Pants" (original air: February 24, 2000).
Rachel and Joey are picking outfits for Joey's big date. Rachel pulls the Cookie Monster shirt from her closet, joking it's "lucky." The shirt becomes a running gag in the episode.
Aniston also wears a Cookie Monster nightshirt in Season 8, Episode 9: "The One with the Rumor" (Thanksgiving episode with Brad Pitt).