That’s a different one, for a fistful of datas should be the title. It’s worf and alexander playing a holodeck western, there is a malfunction that injects data into some recreational programs (and vice versa). This then bit by bit turns every person in the simulation into versions of data, including the, uh, voluptuous bartender who has a thing for the sheriff (played by worf)
That and it's always fun to see Brent Spiner's comedic skills come out, because he's very funny. He was in a bunch of sitcoms before TNG, most notably an entertaining run on Night Court.
"Fistful of Datas" has Data in drag but I don't think Lwaxana was in that. Are you thinking of "Cost of Living"? I like that one. It was filmed not long after Gene died and you can see it in Majel's performance. She gives a speech about very old and alone, and you really feel it.