Palmer ran for a go-ahead 8-yard touchdown with 2:28 left and tumbled after spiking the ball in a telling story of his day, and NFC West-leading Arizona squeaked by the San Francisco 49ers 19-13 on Sunday for its fifth straight win and first road victory in the series since September 2008.