Sex offender accused of following boy