If the funds were already withdrawn as a 401(k) hardship distribution then it is too late to recharacterize it as a loan. If you took the distribution in 2007 then you should have received a 1099-R in the last couple of months.
Financial Advisor
EA, QPA, CHFC, CEBS, CLU - 29 years experience providing financial advice