Generally the requirement to qualify for a returning resident visa are:
An LPR (Legal Permanent resident) who has remained outside the United States for more than one year may be eligible for returning resident status if the consular officer is satisfied
(1) The alien departed the...
For a returning resident visa you need to prove that circumstances were beyond your control that prevented you from returning to the US in time. Since you were 4 years old when you came back to Pakistan it might be possible to prove.
The expiry date of the green card is irrelevant it's...