P0016 the fix is usually the CMP actuator if nobody have touch the timing on the truck.
P0410 check the air pump for water inside, if no evidence of water there is a TSB for replacing the oxygen sensor listed. good luck. i hope i helped and please accept my answer. thanks T-MAN