Man accused of trying to sexually assault 5-year-old