I would use the E9018 B3 electrode. The preheat and post weld heat treatment should follow the P-No 5B requirements without exceeding the lower critical transformation temperature for P-No 5A (which is 1480 deg F). I believe the PWHT range is similar for P-No 5A and P-No 5B, per B31.1, with minor overlap in temperatures for ASME Section I PWHT requirements.