Catalysis of the reaction: (6S)-5,6,7,8-tetrahydrofolate + trimethylsulfonium = (6S)-5-methyl-5,6,7,8-tetrahydrofolate + dimethyl sulfide + H+.
trimethylsulfonium:tetrahydrofolate N-methyltransferase activity