The pH scale is logarithmic, meaning a change of 1 pH unit represents a tenfold change in acidity. The difference in pH between stomach acid (pH 2) and sour milk (pH 6) is 4 pH units. Therefore, stomach acid is 10\(^4\) (or 10,000) times more acidic than sour milk.
Thus, the correct answer is (d).