This scale pattern is actually no different from the third position pattern we just covered - your hand position remains identical.
To play the major scale in the fourth position properly, you begin the pattern above using your second finger. So, on the sixth string, you'd use your second finger, then fourth finger to play the second note. Then, on the fifth string, you'd begin with your first finger. When playing the pattern this way, your hand position never needs to shift.