This pilot clinical trial studies how well Walking for Recovery from Surgery works in improving quality of life in older adults with lung or gastrointestinal cancer and their family caregivers. A walking program, such as Walking for Recovery from Surgery may help support overall well-being as a caregiver, and may help improve family member or friend's recovery from surgery.