Spartan Motors has sold its Emergency Response (ER) segment to Rev Group.