Boston police are investigating after an off-duty officer allegedly fired in the direction of a dog in Brighton.