Cummings was elected as a Democrat to the Sixty-eighth Congress. He was an unsuccessful candidate for reelection in 1924. He resumed the practice of law until 1935, when he was appointed judge of Northumberland County. He was subsequently elected and served until 1946. He resumed the practice of law and died in Sunbury, Pennsylvania. Interment in Pomfret Manor Cemetery in Sunbury.