An off-duty Rhode Island cop who was running for state senate was arrested after allegedly attacking a candidate for the…