On orthogonal arrays of strength four and their applications