Catalysis of the concomitant phosphorylation of threonine (T) and tyrosine (Y) residues in a Thr-Glu-Tyr (TEY) thiolester sequence in a MAP kinase (MAPK) substrate, as part of a MAPK signaling cascade that passes on a signal within an osmosensory signaling pathway.