River and New Bedford will be connected with Boston by rail Monday after an absence of train service that spanned 65 years.