The type of property wouldn't matter - foreclosure or not. If your credit and income/debt ratio meets the lender's criteria, you are good to go. You are way past the time limit someone would have to wait just because of your foreclosure. Recently the waiting period for buying after a foreclosure have relaxed. Here's an article about this I recently posted on Facebook.
Good luck and if I can help, just let me know!