Dust the broken area of the squash vine with wettable sulfur, available from hardware stores. This prevents any disease that may form in the open area of the plant.
Press a small stake into the ground right next to the broken stem. Choose a stake that is about the same height as the broken area.
Push another stake at the end of the broken stem. Be sure it is as tall as the plant itself. Squash is a vine, so a 2-foot stake should be adequate.
Lift the end of the broken stem and tie it to the nearest stake with twine. Wrap the twine twice around and create a double knot. Cut off any excess twine with scissors.
Tie the first, smaller stake to the broken vine closer to where it is broken. Wrap twine around it twice and then double knot it. Cut of any excess. The two stakes should close up the wound as well as possible.
Water the plant as usual.