When being driven outside of a business or residential district, a bus carrying passengers should:

In general, when being driven outside of a business or residential district, a driver operating a bus that is transporting passengers should stop before crossing railroad tracks. The safety of the passengers is a bus driver's responsibility and the driver should ensure there are no trains coming from either direction before continuing across the tracks.
DMV Writen Test