The Second Time Around is a 1961 Western comedy film starring Debbie Reynolds as a widow who relocates her family from 1911 New York to the Arizona Territory. It is based on the novel Star in the West by Richard Emery Roberts.
A posse is formed and comes to Lus rescue. She receives reward money and uses it to send for her kids. Dan wins her hand, while Pat accepts her badge.
Source: Wikipedia