US Representative Edward J. Markey of Malden has officially thrown his hat in the ring for the Senate seat.