Could be either the fuel pickup is tipped above the top of the fuel...
OR you have a low oil pressure switch cutting fuel when the oil pressure drops because the engine oil pick up is tipped above the top of the oil...
if you have an actual oil pressure gauge watch it to see if it's dropping just before shut down...
If it is the fuel pick up tube, it may be cracked and not near the bottom of the tank... It should not be at the bottom. Another possibility if the fuel dip tube is ok, there could be water in the bottom of your tank and when you tilt just right, it is pulling water up instead of fuel... if you have a drain plug at the bottom of your tank you should ck at least once a year for water. Park so the drain is the lowest spot, remove the plug & catch about a cup or more to check for water.... :smile:KennyV