Formaldehyde forms adducts with RNA and can also make it more susceptible to degradation. It can also cause crosslinks to form between RNA and proteins (or possibly other RNAs). For all these reasons extraction of high quality RNA from formaldehyde fixed samples is very difficult and the yields are low (Howat and Wilson, 2014).
Have a look at this article by Evers et al. (2011) which explores optimal conditions for removal of the formaldehyde adducts. However, this study does not involve actual RNA extraction from fixed tissues, which would be even more difficult.
RNeasy FFPE Kit from Qiagen claims to be specially designed for RNA extraction from formaldehyde fixed samples. The product description says that the lysis buffer contains substances that reverse the modifications formed because of formaldehyde. There is a similar kit from Thermo-Fisher. Russel et al. (2013), report that the RNA yield was similar between fixed (using Qiagen RNeasy FFPE kit) and unfixed samples (using Qiagen RNeasy Plus mini Total RNA extraction kit).
should I homogenize the tissue before removing the formalin, or after?
Homogenize after removing formalin. Since the tissues are already brittle because of formaldehyde fixation, you need not use harsh homogenization procedures. Pipette gently. You can use proteinase-K and DNAse to remove proteins and DNA respectively (RNeasy kit involves these steps).
For future experiments, you can store the tissues in RNAlater solution (Thermo-Fisher; or similar formulations from other vendors/lab). Store one part of tissue in formaldehyde for IHC/ISH and the other in RNAlater for RNA/DNA extraction.