A man has been charged in connection with an attempted child abduction at a West Bromwich church.