FIG. 1 is a perspective view of our new, original and ornamental design for a nozzle for a foam pump; FIG. 2 is a front view thereof FIG. 3 is a side view thereof; FIG. 4 is a bottom view thereof; and, FIG. 5 is a top view thereof.