How To Make A Cutout In A Gear
Add a plane and scale and adjust to make a rectangular shape.

Ctrl+A to apply scale and rotation

Select the vertex and Press Ctrl+Shift+B with the scroll wheel round the edges

Press E to Extrude

Press N to flip normal

Select the gear add Boolean Modifier

Target the plane and the operation as difference. Apply and delete the plane.


See gif below: