#include <bits/stdc++.h>
using namespace std;
string abacaba = "abacaba";
bool oktobe[60];
int main() {
  string k;
  int t, n;
  cin >> t;
  for (int i = 1; i <= t; i++) {
    memset(oktobe, 0, sizeof(oktobe));
    cin >> n >> k;
    int ans = 0;
    for (int j = 0; j + 6 < k.length(); j++) {
      string a = k.substr(j, 7);
      for (int q = 0; q < 7; q++) {
        if (a[q] != abacaba[q] && a[q] != '?') {
          oktobe[j] = 1;
          break;
        }
      }
      if (a == "abacaba") ans++;
    }
    if (ans == 1) {
      cout << "Yes\n";
      for (int j = 0; j < k.length(); j++) {
        if (k[j] == '?')
          cout << 'z';
        else
          cout << k[j];
      }
      cout << endl;
    }
    if (ans >= 2) cout << "No\n";
    bool ok = 0;
    if (ans == 0) {
      ok = 0;
      string backup = k;
      int ans2 = 0;
      for (int j = 0; j + 6 < k.length(); j++) {
        ans2 = 0;
        if (oktobe[j] == 0) {
          k.replace(j, 7, abacaba);
        }
        for (int z = k.find(abacaba, 0); z != string::npos;
             z = k.find(abacaba, z + 1)) {
          ans2++;
        }
        if (ans2 == 1) {
          for (int z = 0; z < k.length(); z++)
            k[z] == '?' ? k[z] = 'd' : ans2++;
          cout << "Yes\n";
          cout << k << endl;
          ok = 1;
          break;
        }
        k = backup;
      }
      if (ok == 0) {
        cout << "No\n";
      }
    }
  }
  return 0;
}
