Is it possible to divide a shape with a vector stroke?

Can I draw a path with the pen tool then use it to crop/divide/transform a shape?

In screenshot below, I want to use the black vector (stroke) to cut off the bottom of the orange rectangle…