those codes are usually caused by an air leak somewhere .
when you done the upper and lower gaskets did you replace the plenum gaskets?
they would look something like this here
if not then you need to do so .
if you did replace these then your leak is elsewhere .since you have both codes i would suspect a large leak ,like an emissions hose on the upper intake somewhere .i have seen this on the v-8 before as well .
i am not familiar with the ohc engine much as i have the pushrod ohv engine but the codes mean the same thing and i been there done that .
replacing you fuel pump will not rid you of these codes . not that it isnt good maintenance but dont expect those codes to go away .
good luck.