Will flashing a custom fix lag on my Android?
Im not sure about the hardware of your tablet ,so might not be that powerful .That could be the reason for the lag 
About rooting and custom roms they are not assured to remove lag  ,some roms might help while some may be even slower, it depends on the rom You use .But that said generally custom roms are made to be lightweight ,fast and fluid.