They're both the same pressure and flow, but have different pick up heads. 340 has a central pick up with a gauze (filter) and 342 has an offset pickup. You need to see what style the OEM pump is.
I'm led to believe the stock pump + a Loba is good for over 500hp though, so not sure why you need a beefier in-tank one?