Man accused of trying to lure boy into car