If for some reason my entire shoe gets wet and then I step on something najis, does my entire shoe become najis or just the part of the sole of the shoe having touched the najis item?

Only the part got in touch with najasat