A Montgomery County jury convicted a Gaithersburg man of first-degree murder and in connection with the death of a 35-year-old man.