Man arrested, accused of shooting at deputies