A white woman from Texas who was seen berating and threatening to arrest a group of Hispanic teenagers for playing at a park in a widely shared video was charged this week with impersonating a public servant, the police said.

The woman, Samantha Louise Eley , yelled and cursed at the teenagers who were using a swing set on the playground on Oct. 16 at Dream Park in Fort Worth and said she was a police officer, the video shows.

Dressed in blue and white running shorts, Ms. Eley, 38, is heard at the beginning of the video telling the teenagers to “stop.”

“It’s a children’s park,” she said. “Stop now.”

Ms. Eley is then seen walking over to a swing that someone is playing on, then slams her hands on it to abruptly stop it.