perl -anle 'BEGIN{$"=q{,}} $. > 99990 && print "@F[2..5]"' infile
perl -anle '$. > 99990 && print join ",", @F[2..5]' infile