Here we have a combination without repetition (the order doesn't matter but you can repeat an athlete). The formula is:

Where n is the total number of athletes, and r is the number of athletes you have to select, then n=7 and r=4, then:

Thus, 35 four-person relay teams can be selected among the seven athletes.