Fox will rebuild any of their 165 trunnion shocks into 165x42.5 with remote, you just have to send it to them. All of their 165 trunnion shocks are the same physical 45 mm length stroke shock. The 42.5 mm stroke shock has a 2.5 mm spacer, the 40 mm stroke has a 5 mm spacer.
Ideal situation is find a blown Fox 165 trunnon - any of the three lengths - on Ebay or classifieds ad list for cheap, then send off to Fox for a rebuild. The rebuild will cost right about $200 in parts and labor to have the trunnion head switched over to the remote lockout head, they have to do a rebuild on the shock anyway because that head is replaced. They will also swap to the 2.5 mm spacer.
I have a shock with them right now doing this very thing for my frame.