We have 2 SRX 340 in packet mode with different Junos version.
Can i configure VRRP for both SRX. Is there any impact on failover
yes, you can configure VRRP, the JUNOS version doesn't matter.
Just ensure you're not running eol(end of life) JUNOS.