If you lost a home to foreclosure two years ago, you might not be able to do this in a conventional way.
If you're looking for investment property to flip, try hard money lenders. They lend on the value of the house and generally not more than 70% of the ARV (After Repair Value), however, the HML (Hard Money Lender) will decide what the ARV is. DO NOT DO THIS IF YOU ARE GOING TO LIVE IN THE HOME! The interest rate is crazy high and the note is usually called due in a few months.
If you want to buy as an OO (Owner Occupied) home, try any government grants/loan programs you can find. If you can qualify for VA, FHA, or other government loans / government secured loans (which I doubt with a 2 year old foreclosure) that would be the best route. Most likely, no conventional lenders will loan you anything even if you made a large down payment.
Another thing you can do is take over payments from someone in trouble or moving. Since selling a house is difficult (because so many are available and financing is hard to find) put ads on CL, Backpage, in the local paper, etc. and take over someone's payments. You'll have to do some research on this because most mortgages are non-transferable. Look for "Real Estate Trusts" and you'll find out how to do it where the mortgage company can't stop you from taking over the payments.
I would recommend with a recent foreclosure that you take the last option and try to take over someone's payments through a land trust.