Evan,
what you are referring to is called Nitrogen Fixing. And very few plants have evolved to do this. Mostly legumes and some others...
Squash is not on the list.
do a quick search of the internet for a list. This is my first post on this site and I cannot send a link to Wikipedia.