How to get approved for an FHA loan with a credit score below 580?

My credit score is 514, but I've been paying my rent on time/early for many years. I live in Massachusetts and I need a loan to apply for a housing lottery on a house which is 168,000 dollars. I need a 3% down payment. I can't give up hope; Is there a way to get a loan for this?
4 answers 4