Will 31 inch tires fit on a 2004 ford ranger edge?

Yes. I have BF Goodrich All Terrain TA KO 31x10.5x15 on my 2003 ranger edge and they are great. Everything is factory, no mods. Same wheels, suspension, etc. The 2003 and 2004 should be identical.