The University of New Hampshire football team rallied in the final seconds to beat Rhode Island, 24-21.