Two problems related to engine stall have been reported for the 1998 BMW 540. The most recently reported issues are listed below.
Engine idles rough and stalls while driving. Dealer replaced faulty camshaft sensor under warranty.
Engine entermittently stalled when the clutch is depressed while driving and is related to an intermittent low rmp engine malfunction. Yh.