Robert Farmer, 47, pleaded guilty before Judge Anthony D’Apolito to two counts of felonious assault, a second-degree felony.