Senators confirmed the nomination of Georgette Castner for a seat on New Jersey's federal bench Thursday by a tight margin of 52-47.