Federal prosecutors say Hashim McCullough communicated this month with an undercover agent he thought was a 14-year-old girl.
He asked for nude photos and arranged a meeting for sex. He was arrested when he showed up for the meeting in Brighton.
He is charged with attempted production of child pornography and enticement of a minor.