Not quite: on the numerator, you count the number of ways to choose socks in agivensequence of 8 pairs. As a consequence, you should multiply it by the number of ways to choose 8 pairs among 10 (like, first we choose the (unordered) pairs, and then the left/right sock in each pair).