A Queens woman was arraigned on assault charges yesterday after cursing a 12-year-old girl and later assaulting her in a racially motivated attack, police said.

Donna Harding, 41, first had a confrontation with the child Saturday afternoon in the bathroom area of the Sugar Bowl, a restaurant and arcade in the Breezy Point section of the Rockaways, according to the criminal complaint.

Harding, who is white, cursed out the child, who is Hispanic, telling her, “I don’t know why these f- – -ing niggers and spics are down here at Breezy Point. They should go back to Orchard Beach,” a law-enforcement source said.

It’s unclear what triggered the confrontation, cops said.

More than five hours later, Harding had a chance encounter with the child, her mother and other members of her family, who were guests of a resident of the private enclave on the west end of the Rockaway peninsula.

She then struck the child in the leg several times with a plastic Radio Flyer wagon, cops charged.

The girl was treated for contusions at Peninsula General Hospital and sported an Ace bandage running from her right ankle to her knee when she returned to her Brooklyn home yesterday.

A man who answered the door at the child’s home said the girl was “messed up” over the incident and a friend who accompanied the girl home said she was “very upset.”

Harding was charged with assault as a hate crime, a felony; simple assault; aggravated harassment as a hate crime; weapons possession, endangering the welfare of child, and harassment. She was released without bail.

Outside the courtroom, Harding kept mum, but her husband Frank and lawyer Raphael Scotto both insisted the 105-pound woman was the one who was attacked. Harding, who faces up to four years in prison if convicted of the top charge, is back in court next month.