Jake Moody redeemed himself after missing three earlier field goals by booting a 44-yarder as time expired Sunday to give the San Francisco 49ers a 23-20 victory over the Tampa Bay Buccaneers in running back Christian McCaffrey’s season debut.