Hernandez was booked into the Starr County Jail Thursday, then released on $5,000 bond.
District attorney's investigator Carlos Delgado said the girl had complained about the incident and it was forwarded to law enforcement.
Hernandez was unavailable at the La Grulla police department, which referred calls to Mayor Oscar Gonzalez.
The mayor didn't immediately return a call for comment.