Re: 18' Lund with 90 HP Yamaha???
When you prop an outboard, your goal is to keep the engine within the center of it's peak power band (i.e. recommended peak RPM). You can fine tune your prop & pitch to gain your peak RPM and may be able to fine tune by experimenting with different props, engine height, and proper trim to pull every last ounce of performance out of that motor. Maybe, just maybe, you can get close to 40...but I seriously doubt it....
I have run 2 different motors on Lund Mr. Pike 17's. That boat is a 93" beam and 17' 2" long. With 32 gallons of fuel on board:
2005 Johnson 90 (2 stroke 60 degree looper)- I was able to get 37.8 MPH with average load and weight distribution in the second hole. I was running a Solace aluminum 13.5x15 prop @ 5700 RPM's. That particular Johnson was known as a real power house for a 2 stroke because if was a V-4.
2008 Evinrude 90 E-tec- I am able to get 34.8 MPH with average load and weight distribution also in the second hole. I am running a BRP aluminum 13.5x15 prop @ 5300 RPM's.
My point is that you have a bit bigger boat and a 4 stroke that will probably provide similar performance to my outboards. I think you are going to be hard pressed to hit 40 MPH. Maybe with a good stainless prop.....