He is due to appear in the Manukau District Court tomorrow.
Detective Senior Sergeant Tom Gollan said police thanked the public for their assistance.
"This appears to be an isolated incident and we want to reassure the community that there is no wider risk," he said.
Favona Primary School, in Māngere, yesterday alerted parents and the wider school community.
A message on the school's Facebook page read: "We have just been told of an attempted abduction of a young child on their way to school with a parent in the area.
"We want to do everything we can to keep your children safe, so please pick your children up and drop them off, if possible."
The school told parents that any children waiting to be picked up at the end of the day would have to wait inside the school grounds - for their own safety.
"Thanks for your help with this and please let other parents know about the need for safety around drop-offs and pick-ups."
The school principal declined to comment yesterday.