With weeks to go until the midterm elections, former President Barack Obama hit the campaign trail for Democrats — on…