Fast way to isolate 4-nitrophenol from 4-aminophenol
I would use solvent extraction. Dissolve the mixture of phenols in an organic solvent. Next shake the organic solution with dilute hydrochloric acid in a separation funnel. Do this several times to wash all of the 4-hydroxyaniline out of the organic phase.

Next shake the organic phase with concentrated sodium chloride solution (brine) and then add anhydrous sodium sulfate. Shake the mixture up in a sealed conical flask. Now decant or filter it to give you a solution of 4-nitrophenol which you can now evapourate down to give you the phenol.

I would like to know how the nitrophenol was reduced into the amine over the years it was in storage. This is a more interesting question to my mind is how did the nitro compound get converted on storage into the amine.