Some generalized fixed point results via a $ \tau $-distance and applications