A Texas sheriff’s deputy and her husband were indicted Thursday on murder charges in the choking death of a man outside a restaurant last month.

The deputy, Chauna Thompson of the Harris County Sheriff’s Office, and her husband, Terry Thompson, face charges in the death of John Hernandez, a 24-year-old they encountered outside a Denny’s restaurant near Houston on May 28. A bystander recorded the confrontation on a cellphone, which shows Mr. Hernandez kicking, grunting and gasping for air as Mr. Thompson lies on top of him, pins him to the sidewalk and holds him in a chokehold.

Mr. Hernandez lost consciousness before paramedics arrived and took his motionless body to a hospital. He died three days later. A medical examiner ruled that Mr. Hernandez died from strangulation and chest compression.